Subject: | strftime is converting %x incorrectly due to hardcoded owerwrite to "%a %d %b %Y" |
Date: | Tue, 2 Jun 2020 13:30:31 +0200 |
To: | bug-Time-Piece [...] rt.cpan.org |
From: | "fra.iesus" <fra.iesus [...] gmail.com> |
This issue was introduced between 1.27 and 1.3204
strftime.pl
=================
#!/usr/bin/env perl
use 5.014;
use warnings;
use Time::Piece;
print Time::Piece->VERSION . "\n";
my $t=localtime();
print $t->strftime('%x') . "\n";
=================
~$ ./strftime.pl
1.27
06/02/2020
~$ ./strftime.pl
1.3204
Tue 02 Jun 2020