git.ucc.asn.au
/
planet-ucc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
100b771
)
Date string issues, Adrian fixed his blog
author
davyd
<davyd>
Sun, 8 Feb 2004 09:45:21 +0000
(09:45 +0000)
committer
davyd
<davyd>
Sun, 8 Feb 2004 09:45:21 +0000
(09:45 +0000)
XMLParse.py
patch
|
blob
|
history
diff --git
a/XMLParse.py
b/XMLParse.py
index
69edc6c
..
8ce8e40
100644
(file)
--- a/
XMLParse.py
+++ b/
XMLParse.py
@@
-132,7
+132,7
@@
class RDFParse(Parse):
elif node2.nodeType == 1 and node2.tagName == 'dc:date':
date = self.__retrieve_value__(node2)
try:
- item.itemDate = time.mktime(time.strptime(date, '%Y-%m-%dT%H:%M:%S+0
7:00')) + 3600
+ item.itemDate = time.mktime(time.strptime(date, '%Y-%m-%dT%H:%M:%S+0
8:00'))
except:
sys.stderr.write("DEBUG: RDFParse: time string %s unparseable\n" % date)
elif node2.nodeType == 1 and node2.tagName == 'description':
UCC
git Repository :: git.ucc.asn.au