From: "Alec Warner" <antarus@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] packages:master commit in: web/lib/
Date: Sun, 30 Dec 2012 09:04:41 +0000 (UTC) [thread overview]
Message-ID: <1356858525.2779d06e6ac4ebf019080f934355fc94c5d59c48.antarus@gentoo> (raw)
commit: 2779d06e6ac4ebf019080f934355fc94c5d59c48
Author: Alec Warner <antarus <AT> scriptkitty <DOT> com>
AuthorDate: Sun Dec 30 09:07:17 2012 +0000
Commit: Alec Warner <antarus <AT> gentoo <DOT> org>
CommitDate: Sun Dec 30 09:08:45 2012 +0000
URL: http://sources.gentoo.org/gitweb/?p=packages.git;a=commit;h=2779d06e
Change to GMT to meet RFC requirements and fix bug 430350
---
| 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
--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:
next reply other threads:[~2012-12-30 9:04 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-30 9:04 Alec Warner [this message]
-- strict thread matches above, loose matches on Subject: below --
2015-04-03 16:08 [gentoo-commits] packages:master commit in: web/lib/ Matt Thode
2012-10-02 19:29 Alec Warner
2012-01-19 23:50 Robin H. Johnson
2011-11-11 15:47 Christian Ruppert
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1356858525.2779d06e6ac4ebf019080f934355fc94c5d59c48.antarus@gentoo \
--to=antarus@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox