[Koha-bugs] [Bug 9508] the dateformat variable is not standardized in template files
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Feb 1 15:19:33 CET 2013
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9508
Kyle M Hall <kyle at bywatersolutions.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #14954|0 |1
is obsolete| |
--- Comment #3 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 15009
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=15009&action=edit
Bug 9508: Standardize the dateformat value from C4::Auth
- the dateformat value is send to all templates (from
C4::Auth::get_template_and_user)
- remove all assignment of dateformat in all .pl files
- Remove "all" occurrences (those I found!) of dateformat_*
>From now the only way to get the date format is a string comparaison
(dateformat == "metric")
Checked with the command:
git grep "\(dateformat_us\|dateformat_metric\|dateformat_iso\)" | grep
-v translator
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
Tested all the datepickers I could find, looks good.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list