Uploaded image for project: 'Causeway'
  1. Causeway
  2. CAUSEWAY-3803

Allow the display format of dates and times to be specified as a pattern.

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.1.0, 3.1.0
    • 3.2.0
    • Core
    • None

    Description

      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.

       

      Attachments

        Activity

          People

            danhaywood Daniel Keir Haywood
            danhaywood Daniel Keir Haywood
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: