add workflow 天润Smart-ccc工单数据,dev
This commit is contained in:
parent
e76008eee7
commit
109fcb2049
|
@ -48,7 +48,7 @@ def formatted2_previous_month(m):
|
|||
return datetime.datetime.now().strftime("%Y-%m-%d %H:%M:%S")
|
||||
start_of_current_hour = datetime.datetime.now().replace(minute=0, second=0, microsecond=0)
|
||||
# 减去一个小时,得到前一个小时的开始时间
|
||||
start_of_previous_hour = start_of_current_hour - datetime.timedelta(month=m)
|
||||
start_of_previous_hour = start_of_current_hour - datetime.timedelta(months=m)
|
||||
return start_of_previous_hour.strftime("%Y-%m-%d %H:%M:%S")
|
||||
|
||||
#计算签名
|
||||
|
|
Loading…
Reference in New Issue