Author zooko
Recipients brett.cannon, skip.montanaro, tim.peters, tungwaiyip, zooko
Date 2007-10-15.04:15:39
SpamBayes Score 0.257137
Marked as misclassified No
Message-id <>
Here is a note for the next person who comes to this ticket wondering
why isoformat() exhibits this slightly un-Pythonic behavior.  If you
want to use isoformat() to produce, for example, timestamps for your
logfiles, you'll need to do something like the following.  (I do hope
you noticed the documentation and didn't use isoformat() in the naive
way, or your log files will very rarely have a different format than you

    d = datetime.datetime.utcfromtimestamp(when)
    if d.microsecond:
        return d.isoformat(" ")[:-3]+"Z"
        return d.isoformat(" ") + ".000Z"
Date User Action Args
2007-10-15 04:15:40zookosetspambayes_score: 0.257137 -> 0.257137
recipients: + zooko, tim.peters, skip.montanaro, brett.cannon, tungwaiyip
2007-10-15 04:15:40zookosetspambayes_score: 0.257137 -> 0.257137
messageid: <>
2007-10-15 04:15:40zookolinkissue1074462 messages
2007-10-15 04:15:39zookocreate