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

Returns undefined in winter #1

Closed
andrejpavlovic opened this issue Dec 22, 2023 · 2 comments
Closed

Returns undefined in winter #1

andrejpavlovic opened this issue Dec 22, 2023 · 2 comments

Comments

@andrejpavlovic
Copy link

Date 2023-12-22 returns undefined.

} else if (now <= equinoxDates.mar && now >= equinoxDates.dec) {
return 'winter'
}

I've changed it to

  } else {
    return 'winter'
  }
@LaTableRouge
Copy link
Owner

Hello @andrejpavlovic thanks a lot I missed that... my apologies.
I've published a new version with the fix in it ;) https://github.com/LaTableRouge/seasonsCalc

@andrejpavlovic
Copy link
Author

Thank you!

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

2 participants