Code

Opened 6 years ago

Closed 6 years ago

#6023 closed (fixed)

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

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

Description

This causes problems with the dateformat and timesince util functions.

Attachments (1)

localtimezone_fix.diff (1.3 KB) - added by SmileyChris 6 years ago.

Download all attachments as: .zip

Change History (3)

Changed 6 years ago by SmileyChris

comment:1 Changed 6 years ago by SmileyChris

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Ready for checkin

Bug was brought up in IRC by JH010156

Unobtrusive fix attached.

comment:2 Changed 6 years ago by mtredinnick

  • Resolution set to fixed
  • Status changed from new to closed

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

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.