Skip to content

leap year issue #11

@SudoDios

Description

@SudoDios

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 =

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions