[
https://issues.apache.org/jira/browse/SLING-9989?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17484787#comment-17484787
]
Radu Cotescu commented on SLING-9989:
-------------------------------------
To answer my own question: the test in question doesn't use the same locale,
depending on the JRE. With Java 8 on my Mac, the test seems to use
{{{}en_CH{}}}, whereas with Java 11 it's using {{{}en_GB{}}}, the latter one
being the locale of my OS. I'm going to change the test to use the {{en_GB}}
locale for now.
> Change date formatting to use java.time.format.DateTimeFormatter
> ----------------------------------------------------------------
>
> Key: SLING-9989
> URL: https://issues.apache.org/jira/browse/SLING-9989
> Project: Sling
> Issue Type: Improvement
> Components: Scripting
> Affects Versions: Scripting HTL Engine 1.4.6-1.4.0
> Reporter: Julian Sedding
> Assignee: Dirk Rudolph
> Priority: Minor
> Fix For: Scripting HTL Engine 1.4.12-1.4.0
>
> Time Spent: 9h
> Remaining Estimate: 0h
>
> As discussed in SLING-9983, it would be nice to change the implementation
> from using {{java.text.DateFormat}} to using
> {{java.time.format.DateTimeFormatter}}.
> cc [~kwin]
--
This message was sent by Atlassian Jira
(v8.20.1#820001)