From: Barijaona Ramaholimihaso Date: Wed, 19 Dec 2007 03:19:04 +0000 (+0000) Subject: Fix how the date/time of the feed is determined from the date/time of the most recent... X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=a7001621a86286f74e304c2db2e5748471ed3f38;p=matthijs%2Fupstream%2Fblosxom-plugins.git Fix how the date/time of the feed is determined from the date/time of the most recently-modified story (string compare instead of numerical compare) --- diff --git a/general/atomfeed b/general/atomfeed index 0b322ab..e432ac8 100644 --- a/general/atomfeed +++ b/general/atomfeed @@ -192,7 +192,7 @@ sub story { $updated_utc[1]); # Date/time of most recently-modified story becomes date/time of the feed. - $feed_utc_date = $updated_utc_date if $updated_utc_date > $feed_utc_date; + $feed_utc_date = $updated_utc_date if $updated_utc_date gt $feed_utc_date; # use %blosxom::files for the year component of feed-level # in case the creation time is cached somewhere.