]> git.koha-community.org Git - koha.git/commit
Bug 23382: (RM follow-up) Days of the week discrepancies
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 28 Oct 2019 12:18:04 +0000 (12:18 +0000)
committerLucas Gass <lucas@bywatersolutions.com>
Fri, 17 Jan 2020 14:58:08 +0000 (14:58 +0000)
commit21b9c0b4d13757f1ce2a0119aba7630002e420b7
tree3299eb1d430eb3cf67dc47541be52d021410c2b4
parent2419a083fd2f50898ff199fbdb437155e08cef9d
Bug 23382: (RM follow-up) Days of the week discrepancies

DateTime and C4::Calander have different notions of 'days of the week'.

DateTime days go from 1..7 (Mon..Sun) whilst C4::Calendar expects 0..6
(Sun..Sat).  This patch adapts the holday setting in the tests to ensure
we work when testing Saturdays and Sundays.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 1823316503331bcfffbf1e96528f53b66a8893b7)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
t/db_dependent/Koha/Charges/Fees.t