From 3a558aa5f4da9812952c1a9b8b3d5897b28999c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B4=BE=E4=BA=86=E4=B8=AA=E8=90=8C?= <59004461+ambition-echo@users.noreply.github.com> Date: Fri, 2 Dec 2022 09:40:37 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=90=91=E6=97=A5?= =?UTF-8?q?=E8=91=B5=E5=85=AB=E5=8F=B7=E8=8E=B7=E5=8F=96=E4=B8=8D=E5=88=B0?= =?UTF-8?q?=E5=9B=BE=E7=89=87=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- earth_wallpaper/interfaces/himawari8.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/earth_wallpaper/interfaces/himawari8.py b/earth_wallpaper/interfaces/himawari8.py index 7e5242e..9482316 100644 --- a/earth_wallpaper/interfaces/himawari8.py +++ b/earth_wallpaper/interfaces/himawari8.py @@ -44,7 +44,7 @@ def fill_img(self): return data def get_time_path(self): - today = datetime.datetime.utcnow() + today = datetime.datetime.utcnow() - datetime.timedelta(minutes=30) path_today_ = today.strftime("%Y/%m/%d/%H%M") temp_list = list(path_today_) temp_list[-1] = "0"