Fix how the date/time of the feed is determined from the date/time of the most recent...
authorBarijaona Ramaholimihaso <barijaona@users.sourceforge.net>
Wed, 19 Dec 2007 03:19:04 +0000 (03:19 +0000)
committerBarijaona Ramaholimihaso <barijaona@users.sourceforge.net>
Wed, 19 Dec 2007 03:19:04 +0000 (03:19 +0000)
general/atomfeed

index 0b322ab4e12d2c90124ff3498473961b3f6f21fb..e432ac8899a57abb65e192e6d9eea945e36f352c 100644 (file)
@@ -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 <atom:id>
   # in case the creation time is cached somewhere.