# HG changeset patch # User Paul Boddie # Date 1367962353 -7200 # Node ID f25e21ad1b64c0c669fcdd209513d08ae373ac8a # Parent 8f36e0e8a04d2499810036118684e94d25825846 Fixed the time zone information associated with page revisions. diff -r 8f36e0e8a04d -r f25e21ad1b64 MoinSupport.py --- a/MoinSupport.py Tue May 07 23:16:40 2013 +0200 +++ b/MoinSupport.py Tue May 07 23:32:33 2013 +0200 @@ -716,9 +716,9 @@ mtime = 0 comment = "" - # Leave the time zone empty. + # Give the time zone as UTC. - return {"timestamp" : DateTime(time.gmtime(mtime)[:6] + (None,)), "comment" : comment} + return {"timestamp" : DateTime(time.gmtime(mtime)[:6] + ("UTC",)), "comment" : comment} # Page parsing and formatting of embedded content. diff -r 8f36e0e8a04d -r f25e21ad1b64 README.txt --- a/README.txt Tue May 07 23:16:40 2013 +0200 +++ b/README.txt Tue May 07 23:32:33 2013 +0200 @@ -71,6 +71,7 @@ metadata. * Fixed the ISO 8601 representations of datetimes and added ISO 8601 datetime parsing support. + * Fixed the time zone information associated with page revisions. New in MoinSupport 0.3 (Changes since MoinSupport 0.2) ------------------------------------------------------