A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/attachments/20150409/d0db491a/attachment.html below:

<div dir="ltr"><br>On Thu, Apr 9, 2015 at 12:49 PM, Isaac Schwabacher <<a href="mailto:ischwabacher@wisc.edu">ischwabacher@wisc.edu</a>> wrote:<br>><br>> if someone passed you datetime(2013, 11, 3, 1, 30) without a time zone. astimezone assumes that the input naive time is UTC, which is not the case here.<br><br><br>No, it does not.  Please read the documentation: "self must be aware (self.tzinfo must not be None, and self.utcoffset() must not return None)."<br><br><<a href="https://docs.python.org/3/library/datetime.html#datetime.datetime.astimezone">https://docs.python.org/3/library/datetime.html#datetime.datetime.astimezone</a>></div>

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