On Thursday 10 February 2005 14:44, Tim Peters wrote: > Well, then since that isn't ISO 8601 format, it would be nice to have > a comment explaining why it's claiming to be anyway <0.5 wink>. Hmm, that's right (ISO 8601:2000, section 5.4.2). Sigh. > dt.replace(microsecond=0).isoformat() > > suffices for that much. Tack on .replace('-', '') to do the whole job. Yep, that would work too. -Fred -- Fred L. Drake, Jr. <fdrake at acm.org>
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4