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

Isn't it supposed to be 17 exact? #32

Closed
ghost opened this issue Nov 30, 2022 · 4 comments
Closed

Isn't it supposed to be 17 exact? #32

ghost opened this issue Nov 30, 2022 · 4 comments

Comments

@ghost
Copy link

ghost commented Nov 30, 2022

>>> (nepali_datetime.datetime(2079, 8, 17) - nepali_datetime.datetime(2062, 8, 17)).days/365
17.013698630136986
@ghost
Copy link
Author

ghost commented Nov 30, 2022

17th Mangsir is my birthday so I dont think answer should come in decimals right?

@ghost
Copy link
Author

ghost commented Nov 30, 2022

@dxillar

@amitgaru2
Copy link
Owner

amitgaru2 commented Nov 30, 2022

@neomachiney all years don't have exactly 365 days, some have 366 days too. Check this data https://github.com/dxillar/nepali-datetime/blob/master/nepali_datetime/data/calendar_bs.csv

@ghost
Copy link
Author

ghost commented Dec 2, 2022

Oh right

@ghost ghost closed this as completed Dec 2, 2022
This issue was closed.
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