Skip to content
This repository has been archived by the owner on Jun 24, 2022. It is now read-only.

Leap year calculation error. #8

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

SteveOswald
Copy link

The leap year calculation didn't worked as expected, because month isn't JavaScript's getMont based on 0. Cause of this error January has got 29 days in a leap year and february has 28 days, wich is wrong.

The leap year calaculation didn't worked as expected, because month isn't JavaScript's getMont based on 0. Cause of this error January has got 29 days in a leap year and february has 28 days, wich is wrong.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant