mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2024-11-26 01:01:53 +00:00
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