Hello!
24.10.2011 12:32, Ivan Kuznetsov wrote:
I will try to update the Python package and see the result
Updated Python (package python26-2.6.5-6.el5.i386.rpm) shows the same
incorrect results on interactive tests:
[kia@pine ~]$ python26
Python 2.6.5 (r265:79063, Feb 28 2011, 21:55:56)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-50)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
import time;
import email.Utils;
print (time.localtime());
time.struct_time(tm_year=2011, tm_mon=10, tm_mday=24, tm_hour=13,
tm_min=1, tm_sec=45, tm_wday=0, tm_yday=297, tm_isdst=0)
print (time.altzone);
-14400
print (time.daylight);
1
print (email.Utils.formatdate(localtime=1));
Mon, 24 Oct 2011 13:02:02 +0300
--
С уважением, И.А.Кузнецов
Системный администратор "СОЛВО"
тел. +7 812 6060555
сотовый +7 921 7407261
ICQ 346624981
http://www.solvo.ru
------------------------------------------------------
Mailman-Users mailing list Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe:
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org