We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
👇
for(let i = 0; i < 15; i++) { var s = spacetime({ year: 2014 + i }).endOf('year'); console.log(s.dayOfYear()); }
The text was updated successfully, but these errors were encountered:
attempt fix for #8
2ed6a1d
hey @ryanblock , that's clever - is this right?
2014 366 2015 366 2016 367 2017 366 2018 366 2019 366 2020 367 2021 366 2022 366 2023 366 2024 367 2025 366 2026 366 2027 366 2028 367
... because the jan 1st is 1st... the last day is 366th...?
1st
Sorry, something went wrong.
Last time I checked, regular years have 365, not 366 days (and leap years +1 day).
fix for #8 dayOfYear()
ecccab7
got it in v2.1.1 check it out~ thanks!
v2.1.1
No branches or pull requests
👇
The text was updated successfully, but these errors were encountered: