]> git.koha-community.org Git - koha.git/commit
Bug 9508: Standardize the dateformat value from C4::Auth
authorJonathan Druart <jonathan.druart@biblibre.com>
Tue, 18 Dec 2012 14:09:22 +0000 (15:09 +0100)
committerGalen Charlton <gmc@esilibrary.com>
Mon, 20 May 2013 16:05:01 +0000 (09:05 -0700)
commit537c66403855437d2ce52eeb758fc009c7105633
tree46b8cd6b5e0e2b95c5296aae91409dcce397f86a
parent14ac6cf11b19c3f1ca64c58bf520e7a9e5cf2f37
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@bywatersolutions.com>
Tested all the datepickers I could find, looks good.

Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
14 files changed:
C4/Auth.pm
acqui/newordersubscription.pl
admin/aqbudgets.pl
koha-tmpl/intranet-tmpl/prog/en/includes/calendar.inc
koha-tmpl/intranet-tmpl/prog/en/includes/date-format.inc
koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt
koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-collection.tt
koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-add.tt
koha-tmpl/intranet-tmpl/prog/en/modules/tools/holidays.tt
koha-tmpl/opac-tmpl/prog/en/includes/calendar.inc
koha-tmpl/opac-tmpl/prog/en/modules/sco/sco-main.tt
members/memberentry.pl
reports/guided_reports.pl
serials/serials-collection.pl