Skip to content

Commit

Permalink
Fix date parsing error
Browse files Browse the repository at this point in the history
  • Loading branch information
Justin Campbell committed Oct 30, 2020
1 parent da2592d commit d93ed18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/ECNQueue.py
Original file line number Diff line number Diff line change
Expand Up @@ -1190,7 +1190,7 @@ def __getFormattedDate(self, date: str) -> str:
try:
# This date is never meant to be used. The default attribute is just to set timezone.
parsedDate = parse(date, default=datetime.datetime(
1970, 0, 1, tzinfo=tz.gettz('EDT')))
1970, 1, 1, tzinfo=tz.gettz('EDT')))
except:
return ""

Expand Down

0 comments on commit d93ed18

Please sign in to comment.