forked from expo/troggle
Don't assert an error on bad date formats
This commit is contained in:
parent
3bdd1ad737
commit
a5e7fcf435
@ -112,7 +112,8 @@ def ParseDate(tripdate, year):
|
||||
yadd = int(year[:2]) * 100
|
||||
day, month, year = int(mdategoof.group(1)), int(mdategoof.group(2)), int(mdategoof.group(4)) + yadd
|
||||
else:
|
||||
assert False, tripdate
|
||||
continue
|
||||
#assert False, tripdate
|
||||
return datetime.date(year, month, day)
|
||||
|
||||
# 2007, 2008, 2006
|
||||
|
Loading…
Reference in New Issue
Block a user