diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-08-24 20:03:58 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-08-24 20:03:58 +0000 |
commit | 0bddcaed14c9424eb0f5222decb435a1fee9aaae (patch) | |
tree | 36a8f4b19b9d6fb871ddb8d1fb322a0b322c886d /IkiWiki/Rcs | |
parent | 81a7c9754ee07130f4375364545255d0a38bdc05 (diff) |
remove date munging, seems to be unnecessary
Diffstat (limited to 'IkiWiki/Rcs')
-rw-r--r-- | IkiWiki/Rcs/svn.pm | 5 |
1 files changed, 1 insertions, 4 deletions
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) }; |