[Koha-devel] [Bug 169] dateformat not used anywhere
bugzilla-daemon at wilbur.katipo.co.nz
bugzilla-daemon at wilbur.katipo.co.nz
Tue Mar 25 18:58:06 CET 2003
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.
More information about the Koha-devel
mailing list