Bug 31264: Curbside pickups - Take CalendarFirstDayOfWeek into account
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Sun, 31 Jul 2022 07:16:13 +0000 (09:16 +0200)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 5 Aug 2022 14:59:44 +0000 (11:59 -0300)
commitf31925e9844a7e9abbda8396efd3f94ce1429ba1
tree17dce606a28f87c3cecd2c5ce6e04c9e62af92cf
parent45d9dd8c4220be8877b0b7aa96237a794762e2f2
Bug 31264: Curbside pickups - Take CalendarFirstDayOfWeek into account

We need to take the pref CalendarFirstDayOfWeek into account to display
the days on the curbside pickups admin page.

Test plan:
Turn on the CurbsidePickup pref
Set CalendarFirstDayOfWeek to Sunday
Go to the curbside pickups admin page, add new slots, and confirm that
Sunday is displayed first.
Try again with CalendarFirstDayOfWeek set to Monday and Saturday.

Sponsored-by: Association KohaLa - https://koha-fr.org/
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/curbside_pickup.tt