13 Oct
2017
13 Oct
'17
2:28 p.m.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19176 --- Comment #8 from Julian Maurice <julian.maurice@biblibre.com> --- ... and it doesn't consider timezone. my $dt = DateTime->new( year => 2017, month => 1, day => 1, hour => 1, minute => 1, second => 0, time_zone => '+0000', ); my $dt2 = DateTime->new( year => 2017, month => 1, day => 1, hour => 1, minute => 1, second => 0, time_zone => '+0400', ); t::lib::Dates::compare($dt, $dt2, 'different timezones'); says 'ok'. Maybe you should compare "epoch values" (DateTime::epoch) instead. -- You are receiving this mail because: You are watching all bug changes.