Message249825
Python 3.3.5 (v3.3.5:62cf4e77f785, Mar 9 2014, 10:35:05) [MSC v.1600 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> from datetime import *
>>> E = datetime(1970,1,1,tzinfo=timezone.utc)
>>> s = -1/2**7
>>> datetime.fromtimestamp(s, timezone.utc)
datetime.datetime(1969, 12, 31, 23, 59, 59, 992187, tzinfo=datetime.timezone.utc)
>>> E + timedelta(seconds=s)
datetime.datetime(1969, 12, 31, 23, 59, 59, 992187, tzinfo=datetime.timezone.utc)
FWIW Windows 10. |
|
Date |
User |
Action |
Args |
2015-09-04 20:30:24 | BreamoreBoy | set | recipients:
+ BreamoreBoy, tim.peters, mark.dickinson, belopolsky, vstinner, larry, r.david.murray, aconrad, vivanov, python-dev, tbarbugli, trcarden |
2015-09-04 20:30:24 | BreamoreBoy | set | messageid: <1441398624.08.0.0253515387237.issue23517@psf.upfronthosting.co.za> |
2015-09-04 20:30:24 | BreamoreBoy | link | issue23517 messages |
2015-09-04 20:30:23 | BreamoreBoy | create | |
|