]> git.mjollnir.org Git - s9y.git/commitdiff
Use correct server offset; found by JohnnyPark of forums.
authorslothman <slothman>
Fri, 29 Sep 2006 02:00:02 +0000 (02:00 +0000)
committerslothman <slothman>
Fri, 29 Sep 2006 02:00:02 +0000 (02:00 +0000)
rss.php

diff --git a/rss.php b/rss.php
index 081fe2e626201b665f026e917d7d72669490d571..f6ae0354e143ca8d42411e6df491a7f70c6598a6 100644 (file)
--- a/rss.php
+++ b/rss.php
@@ -57,7 +57,7 @@ if (!isset($_GET['nocache'])) {
                     : false;
 
     if (is_array($latest_entry) && isset($latest_entry[0]['last_modified'])) {
-        $last_modified = gmdate('D, d M Y H:i:s \G\M\T', serendipity_serverOffsetHour($latest_entry[0]['last_modified'], true));
+        $last_modified = gmdate('D, d M Y H:i:s \G\M\T', serendipity_serverOffsetHour($latest_entry[0]['last_modified'], false));
         $etag          = '"' . $last_modified . '"';
 
         header('Last-Modified: ' . $last_modified);