Skip to content

How to format some types of date #276

Closed
@Garf1eldGit

Description

@Garf1eldGit

Here is example of strings, those i want to format into some type of date.

"2020-02-04T09:07:13.851+0300"
"17.01.2022"

With Instant.parce("2020-02-04T09:07:13.851+0300") throws exception could not be parsed, unparsed text found at index 26
And
LocalDate.parse( "17.01.2022") throws Text '17.01.2022' could not be parsed at index 0

How to do it nicely?

Metadata

Metadata

Assignees

No one assigned

    Labels

    formattersRelated to parsing and formatting

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions