remove date munging, seems to be unnecessary
[ikiwiki.git] / IkiWiki / Rcs / svn.pm
index f01735afe74c86d5c3279ec0bb1ea1beaa83152e..2d203c7ca3001d7e6318dd254e0b3188287f0509 100644 (file)
@@ -153,10 +153,7 @@ sub rcs_recentchanges ($) { #{{{
                my $rev = $logentry->{revision};
                my $user = $logentry->{author};
 
-               my $date = $logentry->{date};
-               $date =~ s/T/ /;
-               $date =~ s/\.\d+Z$//;
-               my $when=concise(ago(time - str2time($date, 'UTC')));
+               my $when=concise(ago(time - str2time($logentry->{date}, 'UTC')));
 
                foreach my $msgline (split(/\n/, $logentry->{msg})) {
                        push @message, { line => escapeHTML($msgline) };