]> git.koha-community.org Git - koha.git/commit
Bug 12072: Make datepicker and templates to be aware of dmydot format
authorMarc Véron <veron@veron.ch>
Wed, 18 Nov 2015 16:33:33 +0000 (17:33 +0100)
committerTomas Cohen Arazi <tomascohen@theke.io>
Thu, 19 Nov 2015 16:15:19 +0000 (13:15 -0300)
commit0adbda80344b5cc828fcedea7d706073381f4605
tree77c79ee6ef3c513344728a44f5f75096f3af3b28
parentc4b9f379f3daf15f90f19a3d747f1c885da35537
Bug 12072: Make datepicker and templates to be aware of dmydot format

This patch is to display corrextly the new dmydot date format e.g. after
using the datepicker or in messages for the user, in following files:

- 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/includes/patron-search.inc
- koha-tmpl/intranet-tmpl/prog/en/modules/tools/holidays.tt
- koha-tmpl/opac-tmpl/bootstrap/en/includes/calendar.inc
- tools/holidays.pl

To test:
- Apply patch
- Make sure that you have syspref dateformat set to dmydot
- Use datepicker in OPAC (modify birth date), verify that after
  choosing a date, it is displayed correctly in the datepicker
- Use datepicker at several places in OPAC, verify that after choosing
  a date the date displays properly in datepicker and that the dater format
  is properly indicated (e.g. near birth date or near "Specify due date").
- Verify that datepicker works well with hoiday editing and that "From date:"
  displays properly

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
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/includes/patron-search.inc
koha-tmpl/intranet-tmpl/prog/en/modules/tools/holidays.tt
koha-tmpl/opac-tmpl/bootstrap/en/includes/calendar.inc
tools/holidays.pl