From 953140b6ffffcee0d32ec5fe8843f390edfa98b7 Mon Sep 17 00:00:00 2001 From: DingZQ Date: Mon, 24 Feb 2025 20:52:23 +0800 Subject: [PATCH] Refine --- time_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/time_api.py b/time_api.py index 3e2c546..9aa324d 100644 --- a/time_api.py +++ b/time_api.py @@ -43,7 +43,7 @@ def get_utc_beginning(utc_time: datetime): ''' return utc_time.replace(hour=0, minute=0, second=0, microsecond=0) -def get_utc_after(utc_time: datetime, hours: float, seconds: float): +def get_utc_after(utc_time: datetime, hours: float=0.0, seconds: float=0.0): ''' 获取 utc 时间后面的一个时间点 '''