Your first method seems to be the approved one, and should be DST-aware. You could shorten it a tiny bit, since pytz.utc ...
確定! 回上一頁