fix bmt calculation
This commit is contained in:
parent
cff599d837
commit
cfa7afecde
5
app.py
5
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):
|
||||
|
||||
Loading…
Reference in New Issue
Block a user