]> 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)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 4 Oct 2023 13:15:39 +0000 (09:15 -0400)
commit8d4b10fc846eb74aa381c809923d13bf258a9752
treea3f7ec77132eaf37802dbbb1d181aec9f3ac3ef5
parent7d93d18548d02b1b634db09356caf18795a6ddbf
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>
t/db_dependent/Accounts.t
t/db_dependent/Koha/Account.t