Fixed
Details
Details
Assignee
Michael Offner
Michael OffnerReporter
Andreas R
Andreas RPriority
Labels
Fix versions
New Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Created 28 December 2020 at 01:55
Updated 12 April 2021 at 10:29
Resolved 12 April 2021 at 10:19
This issue was submitted on the lucee forum at:
https://dev.lucee.org/t/54-weeks-in-2020/7749
e.g. if you run the following code:
<cfscript> this_week = Week(now()); wrongWeek=Week("{ts '2020-12-27 0:00:00'}") writedump(this_week); writedump(wrongWeek); </cfscript>
The result for variable wrongWeek is 54. Expected value should be 52.
This happens on 5.3.7.47 and below. According to the users post, this issue happens even on Railo Lucee 4.5.5