This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Roger.Caldwell
Recipients Roger.Caldwell
Date 2012-02-02.20:49:35
SpamBayes Score 0.0060686935
Marked as misclassified No
Message-id <1328215776.48.0.974828105123.issue13927@psf.upfronthosting.co.za>
In-reply-to
Content
Hi.  I found this today and thought I would report.  I could not find anywhere that it was expected behavior.  When using time.ctime() to convert a date which only has 1 digit in the day position it returs a string with 2 spaces after the month vs one.

example
In [2]: import os,time

In [3]: time.ctime(os.path.getmtime('file.cfg'))
Out[3]: 'Tue Dec 13 18:52:58 2011'

In [4]: time.ctime(os.path.getmtime('14d-1.log'))
Out[4]: 'Tue Feb  1 19:53:11 2011'

Is this expected behavior?
History
Date User Action Args
2012-02-02 20:49:36Roger.Caldwellsetrecipients: + Roger.Caldwell
2012-02-02 20:49:36Roger.Caldwellsetmessageid: <1328215776.48.0.974828105123.issue13927@psf.upfronthosting.co.za>
2012-02-02 20:49:35Roger.Caldwelllinkissue13927 messages
2012-02-02 20:49:35Roger.Caldwellcreate