nikethanreddy commited on
Commit
abb59ca
·
verified ·
1 Parent(s): b596fa5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -188,7 +188,7 @@ def get_firebase_data(sequence_length: int, latitude: float, longitude: float):
188
  # Parse the datetime string using the correct format 'YYYY-MM-DDTHH:MM'
189
  # We assume the datetime in Firebase is already in UTC or is timezone-naive
190
  # and we treat it as UTC based on the original code's localization attempt.
191
- timestamp = datetime.datetime.strptime(datetime_str, '%Y-%m-%dT%H:%M')
192
  timestamp = pytz.utc.localize(timestamp)
193
 
194
  data_point = {
 
188
  # Parse the datetime string using the correct format 'YYYY-MM-DDTHH:MM'
189
  # We assume the datetime in Firebase is already in UTC or is timezone-naive
190
  # and we treat it as UTC based on the original code's localization attempt.
191
+ timestamp = datetime.strptime(datetime_str, '%Y-%m-%dT%H:%M')
192
  timestamp = pytz.utc.localize(timestamp)
193
 
194
  data_point = {