fix bmt calculation

This commit is contained in:
Görkem 2026-03-29 12:30:04 -07:00
parent cff599d837
commit cfa7afecde

5
app.py
View File

@ -14,7 +14,8 @@ DAILY_LIMIT = 50
DATA_DIR = 'guestbook' DATA_DIR = 'guestbook'
now_utc = datetime.now(timezone.utc)
bmt = now_utc + timedelta(hours=1)
currentDate = bmt.strftime('%Y-%m-%d') currentDate = bmt.strftime('%Y-%m-%d')
submissionCountDay = 0 submissionCountDay = 0
@ -134,7 +135,7 @@ def itime():
# elif beats < 0: # elif beats < 0:
# beats += 1000 # beats += 1000
return beats return beats % 1000
def cleanText(text): def cleanText(text):