You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Dirk Rudolph (Jira)" <ji...@apache.org> on 2021/07/22 15:36:00 UTC

[jira] [Commented] (SLING-9989) Change date formatting to use java.time.format.DateTimeFormatter

    [ https://issues.apache.org/jira/browse/SLING-9989?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17385615#comment-17385615 ] 

Dirk Rudolph commented on SLING-9989:
-------------------------------------

Done with [https://github.com/apache/sling-org-apache-sling-scripting-sightly/commit/e6acc53b4744cd5a78472a0f740bc3f2be685319]

Adding the ability to pass {{java.time}} objects as format object needs to be address as well.

> 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.10-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.3.4#803005)