any-date-parser
any-date-parser copied to clipboard
Parse a wide range of date formats including human-input dates
The following date results in `invalid` status: ``` 2022-05-25T16:03:12.2085 ``` when using this: ``` dateParser.fromAny("2022-05-25T16:03:12.2085"); ``` will return this: ``` {invalid: 'Unable to parse 2022-05-25T16:03:12.2085'}invalid: "Unable to parse 2022-05-25T16:03:12.2085"[[Prototype]]: Object...
Inputs with absolute time (other than ISO8601 with time zone offset) seem to be parsed as UTC. Here is a simple NodeJS 20.12.0 example for `America/New_York` time zone (UTC-4 for...