]> git.koha-community.org Git - koha.git/commit
Bug 12072: Add system preference for New dateformat dd.mm.yyyy (dmydot)
authorMarc Véron <veron@veron.ch>
Sat, 7 Mar 2015 07:38:04 +0000 (08:38 +0100)
committerTomas Cohen Arazi <tomascohen@theke.io>
Thu, 19 Nov 2015 16:12:00 +0000 (13:12 -0300)
commitc4b9f379f3daf15f90f19a3d747f1c885da35537
tree3b7a0dde7545b88003f8ccc1e5b2112bf5266ecb
parent302e082086a6712f36120dca34f72bdf734db8b3
Bug 12072: Add system preference for New dateformat dd.mm.yyyy (dmydot)

Note: This feature depends on Bug 14870 'Delete C4/Dates from system'

System preferences:
To test:
- apply the patch
- run updatedatabase.pl
- go to Admin > Sysprefs > I18N, change dateformat to dd.mm.yyyy, save
- verify that the value was saved

Date handling:
- go through the staff client and verify that dates behave as expected.
- go through Opac and verify that dates behave as expected.

  The Bugs where Bug 14870 depends on contain test plans that can be
  used for the overall testing.

Note: Make sure that you reset the dateformat to the former value after
      testing.

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Works as expected

Amended to apply on top of Bug 15166 11.11.2015/mv

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha/DateUtils.pm
installer/data/mysql/atomicupdate/bug_12072_update_syspref_dateformat.sql [new file with mode: 0644]
installer/data/mysql/sysprefs.sql
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/i18n_l10n.pref
t/DateUtils.t