Hemann commited on
Commit
8b583e2
·
verified ·
1 Parent(s): e853179

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -1509,7 +1509,9 @@ def find_buses_tgsrtc():
1509
  from_placeholders = ','.join('?' * len(from_stop_ids))
1510
  to_placeholders = ','.join('?' * len(to_stop_ids))
1511
 
1512
- current_time = datetime.now().strftime("%H:%M:%S")
 
 
1513
 
1514
  query = f'''
1515
  SELECT DISTINCT
 
1509
  from_placeholders = ','.join('?' * len(from_stop_ids))
1510
  to_placeholders = ','.join('?' * len(to_stop_ids))
1511
 
1512
+ utc_now = datetime.utcnow()
1513
+ ist_now = utc_now + timedelta(hours=5, minutes=30)
1514
+ current_time = ist_now.strftime("%H:%M:%S")
1515
 
1516
  query = f'''
1517
  SELECT DISTINCT