Your suggestion was right, though some hint of how to do that would've been helpful. The working code is this: tweet_time = datetime.fromtimestamp(time.mktime(tweet_time[0:8] + (-1,))) All that trouble for a bad DST flag. Grr.
–
Gabriel HurleyJun 17 '09 at 23:03

This reminds that you should use UTC internally and convert it to local time for output only (like display). Pytz to the rescue.
–
zgodaJun 19 '09 at 7:20