[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 Mar 22 17:45:14 CET 2013
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9508
Paul Poulain <paul.poulain at biblibre.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #16600|0 |1
is obsolete| |
--- Comment #7 from Paul Poulain <paul.poulain at biblibre.com> ---
Created attachment 16815
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=16815&action=edit
[PASSED QA] 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.
Signed-off-by: Paul Poulain <paul.poulain at biblibre.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list