Cannot Reproduce
Details
Details
Assignee
Pothys - MitrahSoft
Pothys - MitrahSoftReporter
Oliver Neumann
Oliver NeumannPriority
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
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.