changed default timezone
This commit is contained in:
parent
862f0d2736
commit
e7f3fe3762
@ -8,7 +8,7 @@ try:
|
|||||||
with open('clock_screensaver.json', 'r') as f:
|
with open('clock_screensaver.json', 'r') as f:
|
||||||
settings = json.load(f)['clock2']
|
settings = json.load(f)['clock2']
|
||||||
except:
|
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:
|
with open('clock_screensaver.json', 'w') as f:
|
||||||
json.dump(settings1, f)
|
json.dump(settings1, f)
|
||||||
settings = settings1['clock2']
|
settings = settings1['clock2']
|
||||||
|
Loading…
Reference in New Issue
Block a user