From: joey Date: Thu, 24 Aug 2006 20:03:58 +0000 (+0000) Subject: remove date munging, seems to be unnecessary X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/commitdiff_plain/0bddcaed14c9424eb0f5222decb435a1fee9aaae?ds=inline remove date munging, seems to be unnecessary --- diff --git a/IkiWiki/Rcs/svn.pm b/IkiWiki/Rcs/svn.pm index f01735afe..2d203c7ca 100644 --- a/IkiWiki/Rcs/svn.pm +++ b/IkiWiki/Rcs/svn.pm @@ -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) };