]> git.koha-community.org Git - koha.git/commit
Bug 34912: Add 14 hours to 1970 date in Account(s).t
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Tue, 26 Sep 2023 11:45:58 +0000 (01:45 +1400)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 5 Oct 2023 19:54:39 +0000 (09:54 -1000)
commitc1078784db2a57d339b214d09d85662a85f2b338
treea38655e8e6e774aabf8f8e5841da2a3c163e5710
parent47d9e00a7081415be7471e22b925b5c3189dde39
Bug 34912: Add 14 hours to 1970 date in Account(s).t

This makes those tests pass in whatever timezone.

Test plan:
Do not yet apply patch.
Change timezone on commandline with: export TZ='Etc/GMT-14'
NOTE: GMT-14 is what we also call UTC+14 (sign reversed).
Run prove t/db_dependent/Accounts.t t/db_dependent/Koha/Account.t
This fails now.
Apply patch.
Rerun tests and verify that they pass now.
Bonus: Try some other time zone.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 8d4b10fc846eb74aa381c809923d13bf258a9752)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
t/db_dependent/Accounts.t
t/db_dependent/Koha/Account.t