From 862f0d2736b7c70571370e5c8391f839b01ce153 Mon Sep 17 00:00:00 2001 From: Justin Date: Tue, 22 Aug 2023 22:11:20 +0800 Subject: [PATCH] changed timezone default --- clock_screensaver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clock_screensaver.py b/clock_screensaver.py index d1ee849..452e99d 100644 --- a/clock_screensaver.py +++ b/clock_screensaver.py @@ -8,7 +8,7 @@ try: with open('clock_screensaver.json', 'r') as f: settings = json.load(f)['clock1'] except: - settings1 = {"clock1": {"time_color": "White", "weekday_color": "Cyan", "date_color": "Blue", "timezone": "Asia/Tokyo", "display_seconds": True, "display_pm": True, "12hour": True}, "clock2": {"time_color": "Orange", "date_color": "White", "timezone": "Asia/Tokyo", "display_seconds": True, "display_pm": True, "12hour": True}, "world_clock": {"city_color": "White", "display_seconds": True, "display_pm": True, "12hour": True}} + settings1 = {"clock1": {"time_color": "White", "weekday_color": "Cyan", "date_color": "Blue", "timezone": "Etc/GMT+4", "display_seconds": True, "display_pm": True, "12hour": True}, "clock2": {"time_color": "Orange", "date_color": "White", "timezone": "Etc/GMT+4", "display_seconds": True, "display_pm": True, "12hour": True}, "world_clock": {"city_color": "White", "display_seconds": True, "display_pm": True, "12hour": True}} with open('clock_screensaver.json', 'w') as f: json.dump(settings1, f) settings = settings1['clock1']