equal
deleted
inserted
replaced
1067 except (ValueError, OverflowError): |
1067 except (ValueError, OverflowError): |
1068 pass |
1068 pass |
1069 else: |
1069 else: |
1070 break |
1070 break |
1071 else: |
1071 else: |
1072 raise Abort(_('invalid date: %r ') % date) |
1072 raise Abort(_('invalid date: %r') % date) |
1073 # validate explicit (probably user-specified) date and |
1073 # validate explicit (probably user-specified) date and |
1074 # time zone offset. values must fit in signed 32 bits for |
1074 # time zone offset. values must fit in signed 32 bits for |
1075 # current 32-bit linux runtimes. timezones go from UTC-12 |
1075 # current 32-bit linux runtimes. timezones go from UTC-12 |
1076 # to UTC+14 |
1076 # to UTC+14 |
1077 if abs(when) > 0x7fffffff: |
1077 if abs(when) > 0x7fffffff: |