Closed olivermuc closed 5 years ago
options
is passed only to theformat()
method but should we adopt the same strategy as the Luxon plugin and pass it to all the date-fns methods?
true, parse
supports options too (only one for v1 though). Don't think any others do though.
This adds both, a date-fns locale config option to
format()
as well as a validity check forparse()
. Please review for merge.