summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2011-10-29 23:25:21 +0200
committerDaniel Friesel <derf@finalrewind.org>2011-10-29 23:25:21 +0200
commit2dcc2f578a6bc407276622f0766e09e8d0bcfa88 (patch)
treee31ecc80d8f62ff782cd7bc9b8da3fa50008ad62
parent62dd9d0d49e868b157f859d71d9564b9a5a3f1d3 (diff)
cgi: Fix strptime parse order
-rw-r--r--cgi/index.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/cgi/index.pl b/cgi/index.pl
index c60ea12..dd12186 100644
--- a/cgi/index.pl
+++ b/cgi/index.pl
@@ -114,8 +114,8 @@ sub render_image {
my $time = $d->time;
my $etr;
- my $dt_dep = $strp_simple->parse_datetime($time)
- // $strp_full->parse_datetime($time);
+ my $dt_dep = $strp_full->parse_datetime($time)
+ // $strp_simple->parse_datetime($time);
my $dt;
if ((@grep_line and not ($line ~~ \@grep_line)) or