[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-devel] [Bug 169] dateformat not used anywhere
From: |
bugzilla-daemon |
Subject: |
[Koha-devel] [Bug 169] dateformat not used anywhere |
Date: |
Tue Mar 25 18:58:06 2003 |
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.