remove date munging, seems to be unnecessary
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Thu, 24 Aug 2006 20:03:58 +0000 (20:03 +0000)
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Thu, 24 Aug 2006 20:03:58 +0000 (20:03 +0000)
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 $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) };
 
                foreach my $msgline (split(/\n/, $logentry->{msg})) {
                        push @message, { line => escapeHTML($msgline) };