~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/doc_generate/autodoc_rstx.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:
38
38
 
39
39
def infogen(options, outfile):
40
40
    """Create manual in RSTX format"""
41
 
    t = time.time()
42
 
    tt = time.gmtime(t)
 
41
    tt = bzrlib.osutils.gmtime()
43
42
    params = \
44
43
           { "bzrcmd": options.bzr_name,
45
44
             "datestamp": time.strftime("%Y-%m-%d",tt),