Why isn't the offset of Samoa +13 or +14 when using pytz?
问题 I've just read BBC: Samoa and Tokelau skip a day for dateline change, 30.12.2011 I wanted to see this with pytz , but everything I tried only showed an offset of -11, but not of +13 or +14: >>> import pytz >>> tz = pytz.timezone('Pacific/Samoa') >>> tz_us = pytz.timezone('US/Samoa') >>> import datetime >>> datetime.datetime(2011, 12, 30, 9, 00, tzinfo=datetime.timezone.utc).astimezone(tz).isoformat() '2011-12-29T22:00:00-11:00' >>> datetime.datetime(2011, 12, 30, 10,00, tzinfo=datetime