/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/osutils.py

  • Committer: mbp at sourcefrog
  • Date: 2005-03-11 23:19:53 UTC
  • Revision ID: mbp@sourcefrog.net-20050311231953-73aeb3a131c3699a
format_date: handle revisions with no timezone offset

Show diffs side-by-side

added added

removed removed

Lines of Context:
187
187
        tt = time.gmtime(t)
188
188
        offset = 0
189
189
    elif timezone == 'original':
 
190
        if offset == None:
 
191
            offset = 0
190
192
        tt = time.gmtime(t + offset)
191
193
    elif timezone == 'local':
192
194
        tt = time.localtime(t)