New submission from matrokhin oleg:
There was timezone change in Russia at 26 october
(http://www.timeanddate.com/time/change/russia/moscow)
But code in timemodule.c using first day of the year to get timezone
t = (time((time_t *)0) / YEAR) * YEAR;
p = localtime(&t);
janzone = -p->tm_gmtoff;
so janzone have incorrect value (with old timezone)
----------
messages: 230153
nosy: errx
priority: normal
severity: normal
status: open
title: incorrect time.timezone value
type: behavior
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue22752>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com