Page MenuHomeFeedback Tracker

On a leap year "date" goes up to 30th of December
Closed, ResolvedPublic

Description

If Arma date is in leap year the last day of the year is 30 Dec 23:59, next minute it is 1 Jan 00:00

Details

Legacy ID
963628150
Severity
None
Resolution
Not Fixable
Reproducibility
Always
Operating System
Windows 7
Category
Engine
Steps To Reproduce

setDate [2035,12,31,23,59] - non leap
hint str date; [2035,12,31,23,59] <-- correct

setDate [2036,12,31,23,59] - leap year
hint str date; [2037,1,1,23,59] <-- WTF?

Event Timeline

Killzone_Kid edited Additional Information. (Show Details)
Killzone_Kid set Category to Engine.
Killzone_Kid set Reproducibility to Always.
Killzone_Kid set Severity to None.
Killzone_Kid set Resolution to Open.
Killzone_Kid set Legacy ID to 963628150.May 7 2016, 8:13 PM

hehe, you got to this just before I did.

BIS_fnc_KK edited Steps To Reproduce. (Show Details)
BIS_fnc_KK edited Additional Information. (Show Details)
BIS_fnc_KK set Operating System to Windows 7.
BIS_fnc_KK removed BIS_fnc_KK as the assignee of this task.Feb 16 2022, 11:44 PM
BIS_fnc_KK closed this task as Resolved.
BIS_fnc_KK changed Resolution from Open to Not Fixable.
BIS_fnc_KK added a subscriber: BIS_fnc_KK.

Cannot be fixed, too risky, fixing leap year might move dates and missions could be dependent on it and full moon dates could change, so we have to live with the fact that you cannot have December 31 on a leap Year