[go: up one dir, main page]

Skip to content

Clearify format for date.parse remapper

Description

The date.parse remapper states Convert a string to a date using a given format. however, it is not clear what formats are allowed.

In the source code, it uses the parse or parseISO function from the date-fns library.

The parse function can parse a string into a date, however you need to pass a format that aligns with your input string, so Jan 12 2023 would be MMM dd yyyy. In case you pass an empty string, parseISO will be used instead and as the name suggests only works on ISO strings.

Requirements

Edited by Revadike