[Koha-bugs] [Bug 34912] New: Account(s).t tests fail in UTC+1 and higher

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Sep 26 13:45:48 CEST 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34912

            Bug ID: 34912
           Summary: Account(s).t tests fail in UTC+1 and higher
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: P5 - low
         Component: Architecture, internals, and plumbing
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: m.de.rooy at rijksmuseum.nl
        QA Contact: testopia at bugs.koha-community.org

Account.t and Accounts.t use the datetime: 1970-01-01 00:00:01

This does not work in timezones UTC+1 to UTC+14 (note that they are also called
GMT-1 to GMT-14 with sign reversed -- not confusing at all)

Adding 14 hours to the above time makes the test pass too in those time zones
which will only promote using unit tests :)

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list