]> git.koha-community.org Git - koha.git/commit
Bug 6796: day_of_week representation fix
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 12 Feb 2024 15:48:06 +0000 (15:48 +0000)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Fri, 12 Apr 2024 09:26:09 +0000 (11:26 +0200)
commit8017463d34bfc37841a62f9771c80aeebf5376b2
tree4f24b105c678a7d86482a41481f42e5a296b09c4
parent688a551e70321f06414c112e576e25e8ea3fd795
Bug 6796: day_of_week representation fix

The code here was flawed, DateTime returns a 1-7 indexed array with the
first day being Monday, Koha expects an 0-6 indexed array with the first
day being Sunday.

Sponsored-by: PTFS Europe
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
C4/Circulation.pm