Adds 'M' to allow short month names (e.g. 31-Mar-24')
Rereading the original request, realise that MMM might be more sensible. Will modify and will also fix the linting error.
I'm following date-fns for the formatting, so MMM is good yeah.
It does neen i18n support added, and autopunctuation/autocompletion should be looked into
Taken me a lot longer than I expected - partly as Typescript was new to me. Needed a holiday where I had a few uninterrupted hours to get my head around it all. It now works across locales.
I am afraid I won't get around to autopunctuation/autocompletion.
Thanks! I fixed some bugs and made changes to how the parsing works