Staging: this is not the live site, pydocs.org.
Convert to local time in new timezone tz.
Changed in 3.3, 3.6
- 3.3: tz now can be omitted.
- 3.6: The astimezone() method can now be called on naive instances that are presumed to represent system local time.