[Pkg-bazaar-commits] ./bzr/unstable r23: format_date: handle revisions with no timezone offset
mbp at sourcefrog.net
mbp at sourcefrog.net
Fri Apr 10 07:25:22 UTC 2009
------------------------------------------------------------
revno: 23
committer: mbp at sourcefrog.net
timestamp: Sat 2005-03-12 10:19:53 +1100
message:
format_date: handle revisions with no timezone offset
modified:
bzrlib/osutils.py
-------------- next part --------------
=== modified file 'bzrlib/osutils.py'
--- a/bzrlib/osutils.py 2005-03-11 06:24:40 +0000
+++ b/bzrlib/osutils.py 2005-03-11 23:19:53 +0000
@@ -187,6 +187,8 @@
tt = time.gmtime(t)
offset = 0
elif timezone == 'original':
+ if offset == None:
+ offset = 0
tt = time.gmtime(t + offset)
elif timezone == 'local':
tt = time.localtime(t)
More information about the Pkg-bazaar-commits
mailing list