2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2025-03-13 05:41:47 +00:00

One more try

This commit is contained in:
Sam Wenham 2015-01-26 21:15:17 +00:00
parent cf413dd03c
commit f9c2e0e170

View File

@ -111,7 +111,6 @@ def ParseDate(tripdate, year):
assert not mdategoof.group(3) or mdategoof.group(3) == year[:2], mdategoof.groups()
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
return datetime.date(year, month, day)