You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@causeway.apache.org by "Daniel Keir Haywood (Jira)" <ji...@apache.org> on 2025/01/04 22:51:00 UTC

[jira] [Updated] (CAUSEWAY-3803) Allow the display format of dates and times to be specified as a pattern.

     [ https://issues.apache.org/jira/browse/CAUSEWAY-3803?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Keir Haywood updated CAUSEWAY-3803:
------------------------------------------
    Fix Version/s: 3.2.0
                       (was: 2.2.0)

> Allow the display format of dates and times to be specified as a pattern.
> -------------------------------------------------------------------------
>
>                 Key: CAUSEWAY-3803
>                 URL: https://issues.apache.org/jira/browse/CAUSEWAY-3803
>             Project: Causeway
>          Issue Type: New Feature
>          Components: Core
>    Affects Versions: 2.1.0, 3.1.0
>            Reporter: Daniel Keir Haywood
>            Assignee: Daniel Keir Haywood
>            Priority: Minor
>             Fix For: 3.2.0
>
>
> we currently have a lot of options for the format of temporal types when editing, but not much for display.
> Seemingly, we use:
> DateTimeFormatter.ofLocalizedDateTime(dateFormatStyle, timeFormatStyle)
> where the format styles are looked up from DateFormatStyleFacet, but otherwise default to simply medium.
> In practice, this means "Jan 23, 2024" and similar.
>  
> For more flexibility, provide a pattern that can be used as an override.
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)