[Buildbot-commits] [Buildbot] #2522: test_changes_mail_CVSMaildirSource fails in some timezones

Buildbot trac trac at buildbot.net
Sat Sep 7 22:17:39 UTC 2013


#2522: test_changes_mail_CVSMaildirSource fails in some timezones
----------------------+------------------------
Reporter:  rutsky     |       Owner:
    Type:  undecided  |      Status:  new
Priority:  major      |   Milestone:  undecided
 Version:  master     |  Resolution:
Keywords:             |
----------------------+------------------------

Comment (by dustin):

 Hm, from the docs:

 email.utils.mktime_tz(tuple)

     Turn a 10-tuple as returned by parsedate_tz() into a UTC timestamp. It
 the timezone item in the tuple is None, assume local time. Minor
 deficiency: mktime_tz() interprets the first 8 elements of tuple as a
 local time and then compensates for the timezone difference. This may
 yield a slight error around changes in daylight savings time, though not
 worth worrying about for common use.

 ---

 If you change "+0000" to "+0001", what happens?  I wonder if mktime_tz is
 interpreting 0 as None?

-- 
Ticket URL: <http://trac.buildbot.net/ticket/2522#comment:5>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the Commits mailing list