Code review comment for lp:~ahasenack/ubuntu/precise/python-tz/day-leap-fix-885163

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

This other test case, taken from a bug comment, can also be used:

#!/usr/bin/python
import pytz
from datetime import datetime
tz = pytz.timezone("Pacific/Apia")
d2 = datetime(2012,1,1)
local = tz.localize(d2)
local.dst()
print "All is good, NOT hit by bug #885163!"

« Back to merge proposal