modification time in Python - Django: datetime != datetime :-(

Chris Angelico rosuav at gmail.com
Mon Mar 3 16:11:46 EST 2014


On Tue, Mar 4, 2014 at 7:22 AM, donarb <donarb at nwlink.com> wrote:
> You're using the months format '%m' when you should be using minutes '%M'.

Heh! I didn't even notice that. When I tested it, I didn't use
strftime at all, just looked at gmtime's output.

ChrisA



More information about the Python-list mailing list