isdst = time.localtime()[-1] # localtime with no arg needs 2.1 or greater
