koha-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Albert P. Calame
Subject: Re: [Koha-devel] [Bug 169] dateformat not used anywhere
Date: Wed Mar 26 09:50:35 2003

 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
address@hidden
 
 
----- Original Message -----
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: address@hidden [mailto:address@hidden]
Sent: 26 March 2003 02:56
To: address@hidden
Subject: [Koha-devel] [Bug 169] dateformat not used anywhere


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

address@hidden changed:

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



------- Additional Comments From address@hidden  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
address@hidden
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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]