~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/annotate.py

  • Committer: Florent Gallaire
  • Date: 2017-03-17 10:39:02 UTC
  • mto: This revision was merged to the branch mainline in revision 6622.
  • Revision ID: fgallaire@gmail.com-20170317103902-xsmafws9vn8rczx9
Fix for Windows and 32-bit platforms buggy gmtime().

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]