https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36567
Bug ID: 36567
Summary: Datetime warning in t/db_dependent/Circulation.t and
t/db_dependent/Circulation/dateexpiry.t
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: trivial
Priority: P5 - low
Component: Test Suite
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
Running t/db_dependent/Circulation.t and
t/db_dependent/Circulation/dateexpiry.t causes following warning:
>You are creating a DateTime object with a far future year (9999) and a time
>zone (Europe/Helsinki). If the time zone you specified has future DST changes
>this will be very slow. at ../Koha/C4/Circulation.pm line 1614.
Datetime modules pod states (https://metacpan.org/pod/DateTime):
>Currently, constructors will warn if you try to create a far future DateTime
>(year >= 5000) with any time zone besides floating or UTC. This can be very
>slow if the time zone has future DST transitions that need to be calculated.
>If the date is sufficiently far in the future this can be really slow
>(minutes).
--
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/