Compare commits

..

2 Commits
main ... master

Author SHA1 Message Date
floraachy df7a7f66a0 update 2023-07-11 14:58:05 +08:00
floraachy 9e9ef3d23c update 2023-07-11 14:40:49 +08:00
3 changed files with 2 additions and 10 deletions

View File

@ -0,0 +1 @@
# tester

1
README - 副本.md Normal file
View File

@ -0,0 +1 @@
# tester

10
main.py
View File

@ -1,10 +0,0 @@
import date
import time
# 定义原始时间格式字符串和目标时间格式字符串
raw_time_str = "2023-05-04T00:00:00.000+08:00"
target_time_str = "2023-05-03T16:00:00.000Z"
local_time = time.localtime(time.time() - time.ctime(raw_time_str))
date.parse(raw_time_str).strftime(target_time_str, time.strftime("%Y-%m-%dT%H:%M:%S.%fZ"))