]> 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)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 28 Oct 2019 12:20:21 +0000 (12:20 +0000)
commit1823316503331bcfffbf1e96528f53b66a8893b7
treefa3d0401e1b847f17291770e06594a75082f795e
parent1d275e64f044ad4eae5e29e3c410b60961d769e0
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>
t/db_dependent/Koha/Charges/Fees.t