return datetime.strptime(dt_str,'%Y-%m-%d %H:%M:%S').replace(tzinfo=timezone(timedelta(hours=int(re.match(r'(^UTC)([\+\-]\d{1,2})(\:)(00)$',tz_str).group(2))))).timestamp()
你妹,还能让别人看吗
Sign in to make a reply
黎米YARN