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 skip.montanaro
Recipients skip.montanaro
Date 2007-09-13.02:26:41
SpamBayes Score 0.01128056
Marked as misclassified No
Message-id <>
Attached is a patch for py3k which adds a %f format code to its strftime
method.  When included in a format string it expands to the number of
microseconds in the object.  date, time and datetime objects all support
the format (though I'm not sure what, if anything, it means for date

I don't know how practical this is for time.strftime() level because the
inputs are all so excited about being ints.  Still, if you wanted to
allow the seconds field to be a float and were willing to cast it to an
int where necessary and shadow struct tm with a pseudo-float-friendly
version of the same, you could probably smash it in there as well.
File name Uploaded
percent-f.diff skip.montanaro, 2007-09-13.02:26:41
Date User Action Args
2007-09-13 02:26:44skip.montanarosetspambayes_score: 0.0112806 -> 0.01128056
recipients: + skip.montanaro
2007-09-13 02:26:43skip.montanarosetspambayes_score: 0.0112806 -> 0.0112806
messageid: <>
2007-09-13 02:26:43skip.montanarolinkissue1158 messages
2007-09-13 02:26:41skip.montanarocreate