diff --git a/app.py b/app.py index 642f770..955ca47 100644 --- a/app.py +++ b/app.py @@ -14,7 +14,8 @@ DAILY_LIMIT = 50 DATA_DIR = 'guestbook' - +now_utc = datetime.now(timezone.utc) +bmt = now_utc + timedelta(hours=1) currentDate = bmt.strftime('%Y-%m-%d') submissionCountDay = 0 @@ -134,7 +135,7 @@ def itime(): # elif beats < 0: # beats += 1000 - return beats + return beats % 1000 def cleanText(text):