You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
>Timex.parse("march","{Mfull}"){:error,"Expected `full month name` at line 1, column 6."}>Timex.parse("mar","{Mshort}"){:error,"Expected `month abbreviation` at line 1, column 4."}
Description of issue
It's surprising that this fails due to the names being completely lowercased. We first discovered this issue while attempting to parse a date with an uppercase month (like "17-DEC-2024"), realised there is no support for that in the parser, but noticed that lowercase is supported by Timex.month_to_num:
Hello,
Steps to reproduce
Description of issue
It's surprising that this fails due to the names being completely lowercased. We first discovered this issue while attempting to parse a date with an uppercase month (like "17-DEC-2024"), realised there is no support for that in the parser, but noticed that lowercase is supported by
Timex.month_to_num
:But this doesn't work in the parser. I would likely be able to contribute if a PR to update this is acceptable?
Thanks!
Andrew
The text was updated successfully, but these errors were encountered: