chrono
chrono copied to clipboard
Option for changing Date-parsing to GB Date-Format
Currently when parsing Dates, the library uses the US-Date Format. Is there any option to change the parsing to the GB-Date Format?
E.g:
01.11.21 -> Understood as 11. Jan 2021 | wanted: 1. Nov 2021
Sorry for my slow reply.
Have you already tried chrono.en.GB.parse() instead of chrono.parse()?
No problem, will test it out in a hour. The issue would be that it would not work on other languages anymore, which also uses the gb date format, but the content is in another language.