Subject: | leading space with days after formatting |
The following code prints date where day has a leading space (formatted
by %e).
If I understand correctly there should be no spaces.
perl v5.8.6
use Date::Format;
use strict;
use warnings;
my $date = time;
$date = time2str("%e.%L.%Y-%T", $date);
print $date;
prints: ' 5.2.2006-17:33:13'