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

Mistake parse date #121

Open
leegohi opened this issue Dec 30, 2024 · 1 comment
Open

Mistake parse date #121

leegohi opened this issue Dec 30, 2024 · 1 comment

Comments

@leegohi
Copy link

leegohi commented Dec 30, 2024

In [6]: delorean.parse("30/12/2024").format_datetime("YYYY-MM-dd")

Out[6]: '2025-12-30'

In [6]: delorean.parse("30/Dec/2024").format_datetime("YYYY-MM-dd")

Out[6]: '2025-12-30'

the year 2024 becomes 2025

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

2 participants
@leegohi and others