Skip to content

Issues with leap years #1

Description

@efc

Great script! However, I noticed that it can be inaccurate calculating the last month and leap years. It turns out that although your getLastDayOfMonth() function does accept a year, you never pass it one, so all the calculations are done with year zero. You should pass selectedYear when you make these calls. Cheers!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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