##// END OF EJS Templates
better handle errors with date parsing (issue983)...
Dirkjan Ochtman -
r6087:12856a17 default
parent child Browse files
Show More
@@ -1541,7 +1541,7 b' def parsedate(string, formats=None, defa'
1541 1541 for format in formats:
1542 1542 try:
1543 1543 when, offset = strdate(string, format, defaults)
1544 except ValueError:
1544 except (ValueError, OverflowError):
1545 1545 pass
1546 1546 else:
1547 1547 break
General Comments 0
You need to be logged in to leave comments. Login now