Skip to content

Commit

Permalink
Merge pull request #23 from lostb053/patch-1
Browse files Browse the repository at this point in the history
Update helper.py
  • Loading branch information
lostb053 committed Oct 11, 2022
2 parents 8ae1f58 + 3488d52 commit 8ebdc57
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions anibot/utils/helper.py
Expand Up @@ -255,7 +255,7 @@ def make_it_rw(time_stamp):
return tmp[:-2]

def timestamp_today(inc=0):
dt = datetime.now(pytz.timezone("Asia/Kolkata"))
dt = datetime.now(pytz.timezone("Asia/Tokyo"))
dt = dt.replace(hour=0, minute=0, second=0, microsecond=0)
dt = dt + timedelta(days=inc)
return int(dt.timestamp())
Expand Down Expand Up @@ -414,4 +414,4 @@ async def remove_useless_elements():

j2 = AsyncIOScheduler()
j2.add_job(remove_useless_elements, "interval", minutes=3)
j2.start()
j2.start()

0 comments on commit 8ebdc57

Please sign in to comment.