]> 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)
committerMatt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Tue, 17 Oct 2023 17:11:31 +0000 (17:11 +0000)
commit6556450b8d35ea5f2936efc0ddb4ef35161a8913
treef5c7adde15d4e980bf940bb3e3cc37dffb5bcdd8
parentf8c0d379b551aa792db71db3b92bf0525b001fb5
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>
(cherry picked from commit c1078784db2a57d339b214d09d85662a85f2b338)
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
t/db_dependent/Accounts.t
t/db_dependent/Koha/Account.t