]> git.koha-community.org Git - koha.git/commit
Bug 6796: Take CalenderFirstDayOfWeek and TimeFormat into account
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 9 Feb 2024 16:59:45 +0000 (16:59 +0000)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Fri, 12 Apr 2024 09:26:08 +0000 (11:26 +0200)
commite2a48eff6d2fbe8f2657bd7ca8681d838ec6c4d9
treea6772faadc7bca0ef6fb640e5307207c43067bce
parent685357f2794382ed8099efbb76bc92ef2fa027c4
Bug 6796: Take CalenderFirstDayOfWeek and TimeFormat into account

This patch adds accounting for the `CalendarFirstDayOfWeek` and
`TimeFormat` preferences in the libraries management pages.

We respect CalendarFirstDayOfWeek for both input and display, but we
only respect TimeFormat for input at this time. We need a new template
helper and js helper for formatting just time in the appropriate format,
currently we only have such formatters for full datetimes.

Sponsored-by: PTFS Europe
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
admin/branches.pl
koha-tmpl/intranet-tmpl/prog/en/includes/calendar.inc
koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt