Message77867
Leap second handling is usually configurable. Default on Debian Linux
(but similar on RHEL and SuSE):
>>> int(date(1994,1,1).strftime("%s")) - int(date(1993,1,1).strftime("%s"))
31536000
After doing "cp /usr/share/zoneinfo/right/Europe/Berlin /etc/localtime":
>>> int(date(1994,1,1).strftime("%s")) - int(date(1993,1,1).strftime("%s"))
31536001
Also, NTP servers usually get this right. I don't think, Python should
promote a wrong date handling by default, even if it's convenient. |
|
Date |
User |
Action |
Args |
2008-12-15 13:14:12 | srittau | set | recipients:
+ srittau, lemburg, tim.peters, skip.montanaro, brett.cannon, jribbens, guettli, amaury.forgeotdarc, belopolsky, pitrou, catlee, vstinner, tomster, erik.stephens, steve.roberts |
2008-12-15 13:14:12 | srittau | set | messageid: <1229346852.46.0.0446612434358.issue1673409@psf.upfronthosting.co.za> |
2008-12-15 13:14:11 | srittau | link | issue1673409 messages |
2008-12-15 13:14:11 | srittau | create | |
|