This commit is contained in:
garnier-quentin 2019-02-14 15:08:54 +01:00
parent ac002c5588
commit e90cb6b1ac
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ sub manage_selection {
}
$entry->{created} =~ /^(\d+)-(\d+)-(\d+)T(\d+)[:\/](\d+)[:\/](\d+)Z$/;
my $dt = DateTime->new(year => $1, month => $2, day => $3, hour => $4, minute => $5, second => $6, %tz);
my $dt = DateTime->new(year => $1, month => $2, day => $3, hour => $4, minute => $5, second => $6, %$tz);
my $created_time = $dt->epoch;
my $creation_seconds = time() - $created_time;