|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r64057 - website/public_html/beta/feed
From: daniel_james_at_[hidden]
Date: 2010-07-15 14:38:51
Author: danieljames
Date: 2010-07-15 14:38:51 EDT (Thu, 15 Jul 2010)
New Revision: 64057
URL: http://svn.boost.org/trac/boost/changeset/64057
Log:
Accept dates with or without a comma.
Text files modified:
website/public_html/beta/feed/bbook2rss.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
Modified: website/public_html/beta/feed/bbook2rss.py
==============================================================================
--- website/public_html/beta/feed/bbook2rss.py (original)
+++ website/public_html/beta/feed/bbook2rss.py 2010-07-15 14:38:51 EDT (Thu, 15 Jul 2010)
@@ -154,9 +154,10 @@
last_modified = " ".join(
t.nodeValue for t in last_modified.childNodes
if t.nodeType == t.TEXT_NODE)
+ last_modified = last_modified.replace(',', ' ')
items.append([
time.mktime(time.strptime(last_modified,
- '%a, %d %b %Y %H:%M:%S %Z')),
+ '%a %d %b %Y %H:%M:%S %Z')),
item,
bb
])
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk