Issues

Select view

Select search mode

 

lsDayOfWeek / lsWeek always returns the same result for all locales

Fixed

Description

both return 2

Environment

None

Details

Assignee

Reporter

Priority

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 21 November 2022 at 09:34
Updated 21 July 2023 at 10:34
Resolved 25 November 2022 at 13:43

Activity

Show:

Zac Spitzer21 July 2023 at 10:34

Matt Dyer20 July 2023 at 21:19

I updated the unit tests for lsweek to check the java version and expect diffent results depending on the version. I found this stackoverflow post that explains why there are these differences.

Zac Spitzer14 July 2023 at 16:26

sure

Matt Dyer14 July 2023 at 16:02

I can give it a try. It looks like there is a getJavaVersion function in a few of the other test cfcs. Is that the way I should do it also?

Zac Spitzer14 July 2023 at 15:41

wanna update the tests to be conditional on the java version?

Flag notifications