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

Fix incorrect year for 'week' precision if week started the previous year #132

Merged
merged 9 commits into from
Apr 12, 2024

Conversation

meduzen
Copy link
Owner

@meduzen meduzen commented Apr 12, 2024

Fix #130.

Missing:

  • changelog

@meduzen meduzen self-assigned this Apr 12, 2024
Copy link

github-actions bot commented Apr 12, 2024

size-limit report 📦

Path Size
datetime 601 B (+8.29% 🔺)
utc 605 B (+5.59% 🔺)
datetimeTz 843 B (+2.94% 🔺)
duration 245 B (0%)
tzOffset 286 B (0%)
setTimeSeparator 125 B (0%)
setTzSeparator 116 B (0%)
daysBetween 68 B (0%)
weekNumber 144 B (+5.11% 🔺)
DateTime 659 B (+5.95% 🔺)
All modules (import *) 1.21 KB (+2.67% 🔺)

@meduzen meduzen mentioned this pull request Apr 12, 2024
5 tasks
@meduzen meduzen merged commit cb768ad into main Apr 12, 2024
5 checks passed
@meduzen meduzen deleted the fix/week-starting-previous-year branch April 12, 2024 21:16
@meduzen meduzen added the feat: date Related to the Date object label Apr 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat: date Related to the Date object
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Incorrect year for datetime(new Date(2021, 0, 1), 'week')
1 participant