diff options
-rw-r--r-- | web/lib/headers.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web/lib/headers.py b/web/lib/headers.py index 5f7986a..8a5a389 100644 --- a/web/lib/headers.py +++ b/web/lib/headers.py @@ -12,7 +12,7 @@ def lastmodified_rightcontent(latest_entry): def lastmodified_httpheader(latest_entry): """return a HTTP Last-Modified value of the latest entry""" - fmt = '%a, %d %b %Y %H:%M:%S UTC' + fmt = '%a, %d %b %Y %H:%M:%S GMT' return _lastmodified_strftime(fmt, latest_entry) def lastmodified_rss(latest_entry): @@ -33,6 +33,6 @@ def pageexpire_timestamp(): def httpheader_expires(): expire_ts = pageexpire_timestamp() - return strftime('%a, %d %b %Y %H:%M:%S UTC', gmtime(expire_ts)) + return strftime('%a, %d %b %Y %H:%M:%S GMT', gmtime(expire_ts)) # vim:ts=4 et ft=python: |