> tm = timeobject.timetuple() [Guido] > This is specified in the proposal as returning local time if the > timeobject knows about timezones. Unfortunately, the datetime module > has timezone support built in, but in such a way that no knowledge of > actual timezones is built into it. In particular, the datetime module > is agnostic of the local timezone rules and regulations. We currently > support timetuple() but it always returns the "naive time" represented > by a datetime object (stripping the timezone info rather converting to > local time). FYI, the time zone info object is consulted by timetuple(), but only to set the result's tm_isdst flag.
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