-
Notifications
You must be signed in to change notification settings - Fork 523
Open
Milestone
Description
I'm debugging an issue involving tzlocal and need to test values of tzlocal() other than "mine". It looks like a synthetic tzlocal can be generated by patching time.timezone and possibly time.daylight, time.altzone. So the question is:
a) Is there a better way of simulating different tzlocals?
b) Is there a list of valid tzlocal values (or time.timezone/time.daylight./time.altzone triples) for iterating over?