~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/annotate.py

  • Committer: Tarmac
  • Author(s): Florent Gallaire
  • Date: 2017-03-17 12:23:47 UTC
  • mfrom: (6621.1.1 fix-gmtime-lite)
  • Revision ID: tarmac-20170317122347-2nnf3cicpgrhux3h
Fix for Windows and 32-bit platforms buggy gmtime(). [r=vila,richard-wilbur]

Show diffs side-by-side

added added

removed removed

Lines of Context:
215
215
            rev = revisions[origin]
216
216
            tz = rev.timezone or 0
217
217
            date_str = time.strftime('%Y%m%d',
218
 
                                     time.gmtime(rev.timestamp + tz))
 
218
                                     osutils.gmtime(rev.timestamp + tz))
219
219
            # a lazy way to get something like the email address
220
220
            # TODO: Get real email address
221
221
            author = rev.get_apparent_authors()[0]