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

day must be in 1..29', 30 error #48

Open
mgorjis opened this issue Jan 11, 2025 · 0 comments
Open

day must be in 1..29', 30 error #48

mgorjis opened this issue Jan 11, 2025 · 0 comments

Comments

@mgorjis
Copy link

mgorjis commented Jan 11, 2025

weird behaviour on 1832-03-20 

JalaliDate.to_jalali  (  pd.Timestamp('1832-03-19 00:00:00') )
JalaliDate(1210, 12, 29, Doshanbeh)

JalaliDate.to_jalali  (  pd.Timestamp('1832-03-20 00:00:00') )
ValueError: ('day must be in 1..29', 30)

JalaliDate.to_jalali  (  pd.Timestamp('1832-03-21 00:00:00') )
JalaliDate(1211, 1, 1, Chaharshanbeh)
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