waltzofpearls / dateparser

Parse dates in commonly used string formats with Rust.
MIT License
41 stars 8 forks source link

Add support for mm-dd-yyyy format #47

Closed ankita-shankar closed 2 months ago

ankita-shankar commented 5 months ago

This PR adds support for date and timestamps which have their month, date and year part in mm-dd-yyyy format. I have borrowed the implementation fromslash_mdy_family function and have added appropriate tests. I had a use case where I needed to support this scenario, so I thought of creating this PR in case maintainer(s) think the package can benefit from it.

waltzofpearls commented 5 months ago

Hi @ankita-shankar, thanks for submitting the PR, and sorry for the late reply. I will have a look today.

ankita-shankar commented 4 months ago

thanks so much @waltzofpearls!