From 0bddcaed14c9424eb0f5222decb435a1fee9aaae Mon Sep 17 00:00:00 2001 From: joey Date: Thu, 24 Aug 2006 20:03:58 +0000 Subject: remove date munging, seems to be unnecessary --- IkiWiki/Rcs/svn.pm | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'IkiWiki/Rcs') 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) }; -- cgit v1.2.3