Opened 16 years ago

Closed 16 years ago

#6023 closed (fixed)

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

Reported by: Chris Beaven Owned by: nobody
Component: Core (Other) Version: dev
Severity: Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

This causes problems with the dateformat and timesince util functions.

Attachments (1)

localtimezone_fix.diff (1.3 KB ) - added by Chris Beaven 16 years ago.

Download all attachments as: .zip

Change History (3)

by Chris Beaven, 16 years ago

Attachment: localtimezone_fix.diff added

comment:1 by Chris Beaven, 16 years ago

Triage Stage: UnreviewedReady for checkin

Bug was brought up in IRC by JH010156

Unobtrusive fix attached.

comment:2 by Malcolm Tredinnick, 16 years ago

Resolution: fixed
Status: newclosed

(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.

Note: See TracTickets for help on using tickets.
Back to Top