From 3e22ea83dfeb57f4c99fb6b6fe3d300169da2d4a Mon Sep 17 00:00:00 2001 From: Howard Abrams Date: Sun, 18 May 2025 21:20:09 -0700 Subject: [PATCH] Align current time with game time --- server/conf/settings.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/server/conf/settings.py b/server/conf/settings.py index e6a41be..84ff519 100644 --- a/server/conf/settings.py +++ b/server/conf/settings.py @@ -40,8 +40,15 @@ SERVER_HOSTNAME = "www.howardabrams.com" WEBSOCKET_CLIENT_URL = "https://www.howardabrams.com/ws" TIME_ZONE = "PST8PDT" - TIME_FACTOR = 1.0 +TIME_GAME_EPOCH = 1747529912 + +# from datetime import datetime +# from time import mktime +# start = datetime.now() +# epoch = mktime(start.timetuple()) +# epoch = epoch - 1 * 86400 - 3 * 3600 - 15 * 60 +# print(epoch) MEDIA_URL = "/cozy/media/" STATIC_URL = "/cozy/static/"