Subject: | Not correct comparing |
Hello,
perl -E 'use Class::Date qw(date); my $dt1 = date "2016-06-30 13:00"; my $dt2 = date "2016-06-30 13:20"; say 1 if (dt2 == dt1);'
return 1, but dates is not equal
I test on
Ubuntu 14.04.4
This is perl 5, version 22, subversion 0 (v5.22.0) built for x86_64-linux
and Debian GNU/Linux 8.5 (jessie)
This is perl 5, version 20, subversion 2 (v5.20.2) built for x86_64-linux-gnu-thread-multi