LSParseDateTime does not recognize formats in context/lucee/locales

Description

We have Datetime Formats returned from a Service that were parsed with LSParseDateTime in CF 10:

DatetimeString = "2017-02-12";
LSParseDateTime(DatetimeString); // --> throws error.

Error says:
to add custom formats for de_DE, create/extend on of the following files [de-DE-datetime.df (for date time formats), de-DE-date.df (for date formats) or de-DE-time.df (for time formats)] in the following directory [<context>/lucee/locales].

So I added a line in:
de-DE-date.df
yyyy-mm-dd

As our Locale is "de_DE".

So either the error Details is wrong or LSParseDateTime should recognize the DateTime Pattern. I also tried de-DE-date.df. LSParseDateTime does not make use of these patterns.

Environment

None

Activity

Pothys - MitrahSoft 
3 May 2017 at 10:28

Rejected as per the 's comments above.

Oliver Neumann 
2 May 2017 at 12:16

Please close / reject. Server was not restarted.
Maybe add instructions to restart Server.

Pothys - MitrahSoft 
26 April 2017 at 05:41

Please let me know the result once you've tested it with the customer, So that we can close the ticket.

Oliver Neumann 
25 April 2017 at 22:17

Interesting on my Computer at home this works also fine I have to check at customer then.

Pothys - MitrahSoft 
25 April 2017 at 15:20

Hi ,

That too works fine.

Cannot Reproduce

Details

Assignee

Reporter

Priority

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

Affects versions

Created 20 April 2017 at 12:50
Updated 3 May 2017 at 10:28
Resolved 3 May 2017 at 10:28