Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue parsing shortened date string #1232

Open
mushtaqak opened this issue Aug 2, 2024 · 0 comments
Open

Issue parsing shortened date string #1232

mushtaqak opened this issue Aug 2, 2024 · 0 comments

Comments

@mushtaqak
Copy link

With dateparser v 1.2.0 there is an issue with parsing shortened string.
Please see example below (screenshot attached):

$ dateparser.parse('Tue').strftime("%A")
$ Friday

Expectation: Tuesday

Screenshot 2024-08-02 at 5 26 13 PM

However, with 1.1.8, this issue is not happening, kindly fix the latest version. Thanks

Tip: May be today is Friday, so it is picking Friday? (not sure just wanted to share here, just in case)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant