[Koha-devel] [Bug 169] dateformat not used anywhere

Albert P. Calame albert.p.calame at sympatico.ca
Wed Mar 26 09:50:35 CET 2003


RE: [Koha-devel] [Bug 169] dateformat not used anywhere A worthy nit to pick! Call it "European" and most will understand. The format you call "ISO", I've heard called "metric" but I like ISO better.


 Regards,
Al Calame

Librarian-at-Large,
Albert P. Calame Consulting
Montreal, Québec, Canada

514-745-3424
albert.p.calame at sympatico.ca



  ----- Original Message ----- 
  From: Anthony Youngman 
  To: 'koha-devel at lists.sourceforge.net' 
  Sent: Wednesday, March 26, 2003 10:00 AM
  Subject: RE: [Koha-devel] [Bug 169] dateformat not used anywhere


  Just a minor nit. I've never actually come across dd/mm/yy called metric before. I have heard it referred to as "military" because apparently the US military use it, and I have heard it called European (that's what Pick calls it) because it's used in every European country I know of apart from that Scandinavian one I can't remember that uses ISO.

  And I would think "metric" definitely is the wrong name for it, because that is generally taken to mean "use a scale of 10 for measurement", which dates certainly don't!

  Cheers, 
  Wol 

  -----Original Message----- 
  From: bugzilla-daemon at wilbur.katipo.co.nz [mailto:bugzilla-daemon at wilbur.katipo.co.nz] 
  Sent: 26 March 2003 02:56 
  To: koha-devel at lists.sourceforge.net 
  Subject: [Koha-devel] [Bug 169] dateformat not used anywhere 



  http://bugs.koha.org/cgi-bin/bugzilla/show_bug.cgi?id=169 

  mwhansen at hmc.edu changed: 

             What    |Removed                     |Added 
  ---------------------------------------------------------------------------- 
               Status|NEW                         |RESOLVED 
           Resolution|                            |FIXED 




  ------- Additional Comments From mwhansen at hmc.edu  2003-03-26 14:56 ------- 
  OK, here is the deal.  I created a module C4::Date which should be used by all 
  scripts that deal with dates. Right now, it accepts 3 date formats: 
       1: us - "mm/dd/yyyy" 
       2: metric - "dd/mm/yyyy" 
       3: iso - "yyyy-mm-dd" 

  The modules provides two functions: 
       1: display_date_format()  which will return a string like "dd/mm/yyyy" 
  depending on what dateformat is set to 
       2: format_date($date) which accepts a date as a string and will return it 
  in the proper format 

  Now, we need to update all the various scripts to use these functions so that 
  dates are in a consistent format throughout Koha. 




  ------- You are receiving this mail because: ------- 
  You are the QA contact for the bug, or are watching the QA contact. 



  ------------------------------------------------------- 
  This SF.net email is sponsored by: 
  The Definitive IT and Networking Event. Be There! 
  NetWorld+Interop Las Vegas 2003 -- Register today! 
  http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en 
  _______________________________________________ 
  Koha-devel mailing list 
  Koha-devel at lists.sourceforge.net 
  https://lists.sourceforge.net/lists/listinfo/koha-devel 



  This transmission is intended for the named recipient only. It may contain private and confidential information. If this has come to you in error you must not act on anything disclosed in it, nor must you copy it, modify it, disseminate it in any way, or show it to anyone. Please e-mail the sender to inform us of the transmission error or telephone ECA International immediately and delete the e-mail from your information system.

  Telephone numbers for ECA International offices are: Sydney +61 (0)2 9911 7799, Hong Kong + 852 2121 2388, London +44 (0)20 7351 5000 and New York +1 212 582 2333.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/koha-devel/attachments/20030326/0bb6555a/attachment-0002.htm>


More information about the Koha-devel mailing list