Daniel Keir Haywood created CAUSEWAY-3803:
---------------------------------------------
Summary: 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
Reporter: Daniel Keir Haywood
Assignee: Daniel Keir Haywood
Fix For: 2.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)