This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients docs@python, serhiy.storchaka, v+python
Date 2012-12-29.18:33:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1356806013.39.0.507323491041.issue16810@psf.upfronthosting.co.za>
In-reply-to
Content
I don't see a difference.

$ ./python -c 'import time; print(time.localtime())'
time.struct_time(tm_year=2012, tm_mon=12, tm_mday=29, tm_hour=19, tm_min=36, tm_sec=35, tm_wday=5, tm_yday=364, tm_isdst=0)
$ ./python -c 'import datetime; print(datetime.date.today().timetuple())'
time.struct_time(tm_year=2012, tm_mon=12, tm_mday=29, tm_hour=0, tm_min=0, tm_sec=0, tm_wday=5, tm_yday=364, tm_isdst=-1)

Can you please provide a full code which demonstrate a problem?
History
Date User Action Args
2012-12-29 18:33:33serhiy.storchakasetrecipients: + serhiy.storchaka, v+python, docs@python
2012-12-29 18:33:33serhiy.storchakasetmessageid: <1356806013.39.0.507323491041.issue16810@psf.upfronthosting.co.za>
2012-12-29 18:33:33serhiy.storchakalinkissue16810 messages
2012-12-29 18:33:33serhiy.storchakacreate