Refine code with cursor

This commit is contained in:
DingZQ
2025-02-28 21:16:42 +08:00
parent ae60649726
commit 0d4128c8c8
4 changed files with 36 additions and 35 deletions

View File

@@ -47,4 +47,4 @@ def get_utc_after(utc_time: datetime, hours: float=0.0, seconds: float=0.0):
'''
获取 utc 时间后面的一个时间点
'''
return utc_time + timedelta(hours=hours, seconds=seconds)
return utc_time + timedelta(hours=hours, seconds=seconds)