Skip to content

parse-and-format-date-function-calls #10778

Description

@kleineroscar

Please use the form below, leaving the prefilled data to help us. Thank you.

Page link: parse-and-format-date-function-calls

Document link: parse-and-format-date-function-calls.md

My Issue/Suggestion

I needed to display the Quarter a date is in. Per the documentation there is no token for that. Though when I tried 'Q' it works. It looks like the list is coming from https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/text/SimpleDateFormat.html . There exists also the DateTimeFormatter with this list: https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/time/format/DateTimeFormatter.html , which also contains the Quarter token. It seems some of the DateTimeFormatter tokens work, but not everything. Please clarify which formatter is used.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions