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

leap year issue #11

Open
SudoDios opened this issue Mar 27, 2022 · 0 comments
Open

leap year issue #11

SudoDios opened this issue Mar 27, 2022 · 0 comments

Comments

@SudoDios
Copy link

SudoDios commented Mar 27, 2022

HI.
i create a calendar from this library.
But when I take the date as millisecond from 30 esfand, it is equal to 1 farvardin
1774081800000
I checked and found out that 1404 is not a leap year at all.
The year 1403 is a leap year.
The library is wrong in leap years

Maybe this method is wrong :

internal fun isPersianLeapYear(persianYear: Int): Boolean =

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