Django

Code

Ticket #6023 (closed: fixed)

Opened 7 months ago

Last modified 7 months ago

LocalTimezone on a date after Jan 2038 causes an OverflowError on 32 bit systems

Reported by: SmileyChris Assigned to: nobody
Milestone: Component: Core framework
Version: SVN Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: 1 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

Description

This causes problems with the dateformat and timesince util functions.

Attachments

localtimezone_fix.diff (1.3 kB) - added by SmileyChris on 11/23/07 16:58:17.

Change History

11/23/07 16:58:17 changed by SmileyChris

  • attachment localtimezone_fix.diff added.

11/23/07 17:00:02 changed by SmileyChris

  • needs_better_patch changed.
  • stage changed from Unreviewed to Ready for checkin.
  • needs_tests changed.
  • needs_docs changed.

Bug was brought up in IRC by JH010156

Unobtrusive fix attached.

11/29/07 13:39:47 changed by mtredinnick

  • status changed from new to closed.
  • resolution set to fixed.

(In [6749]) Fixed #6023 -- Fixed daylight savings determination for years beyond 2038 on 32-bit systems (modulo the fact that the system timezone libraries might not be accurate that far out; at least we don't crash now). Thanks, SmileyChris?.


Add/Change #6023 (LocalTimezone on a date after Jan 2038 causes an OverflowError on 32 bit systems)




Change Properties
Action