Message195310
> Eric V. Smith added the comment:
>
> But a datetime format string can end in "0", for example.
>
>>>> format(datetime.datetime.now(), '%H:%M:%S.00')
> '20:25:27.00'
Not a problem, because once the digits were removed there would still be % : H M S and ., so the datetime format would
be called. str format would only be called when the result of removing < ^ > 0 1 2 3 4 5 6 7 8 9 was an empty string. |
|
Date |
User |
Action |
Args |
2013-08-16 04:24:21 | ethan.furman | set | recipients:
+ ethan.furman, barry, eric.smith, eli.bendersky, serhiy.storchaka |
2013-08-16 04:24:20 | ethan.furman | link | issue18738 messages |
2013-08-16 04:24:20 | ethan.furman | create | |
|