mirror of
https://github.com/imayushsaini/Bombsquad-Ballistica-Modded-Server.git
synced 2026-08-15 13:04:30 +00:00
fixed timedelta import
This commit is contained in:
parent
b3d59c991c
commit
0d99087093
1 changed files with 2 additions and 2 deletions
4
dist/ba_root/mods/tools/servercheck.py
vendored
4
dist/ba_root/mods/tools/servercheck.py
vendored
|
|
@ -7,7 +7,7 @@ import _ba
|
|||
import ba.internal
|
||||
import urllib.request
|
||||
import json
|
||||
from datetime import datetime
|
||||
from datetime import datetime, timedelta
|
||||
import time
|
||||
import ba
|
||||
from ba._general import Call
|
||||
|
|
@ -282,7 +282,7 @@ def get_account_creation_date(pb_id):
|
|||
creation_time = datetime.strptime("/".join(creation_time),
|
||||
"%Y/%m/%d/%H/%M/%S")
|
||||
# Convert to IST
|
||||
creation_time += datetime.timedelta(hours=5, minutes=30)
|
||||
creation_time += timedelta(hours=5, minutes=30)
|
||||
return str(creation_time)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue