Skip to content

Commit b041883

Browse files
committed
check time at argetnina time and not server time when calling the wizard
1 parent 6dd0a7d commit b041883

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pycamp_bot/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ def get_wizards(self):
109109

110110
def get_current_wizard(self):
111111
"""Return the Pycampista instance that's the currently scheduled wizard."""
112-
now = datetime.datetime.now(ZoneInfo("America/Los_Angeles"))
112+
now = datetime.datetime.now(ZoneInfo("America/Argentina/Cordoba"))
113113
logger.info("Request wizard at user time: %s", str(now))
114114
current_wizards = WizardAtPycamp.select().where(
115115
(WizardAtPycamp.pycamp == self) &

0 commit comments

Comments
 (0)