support pytz, inspired by the patch: http://markmail.org/thread/34qnlryo7tl3dp2k