-
Notifications
You must be signed in to change notification settings - Fork 17
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
Headers are inaccurate during month changes #54
Labels
good first issue
Good for newcomers
Comments
@AzharAhmed-bot is working on this one |
Moving this back to 'Todo' due to inactivity -- consider this up-for-grabs for anyone else interested! |
Closing in favor of #165 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Prerequisites
Expected Behavior
When on a week that spans multiple months, the label heading label should display both months in the following format:
'ShortenedMonth 1 - ShortenedMonth 2 YYYY'
When the week spans multiple years (Dec-Jan), the label should change to:
'Dec YYYY - Jan YYYY'
Current Behavior
Steps to Reproduce
Hard-code the
today
value to inuseToday.ts
to2024-01-04
:const today = dayjs("2024-01-04");
Notice: Month label is December 2023. It should be 'Dec 23 - Jan 24'
Repeat process for other month changes (eg set today to
2024-02-01
)Possible Solution (Not obligatory)
Context
The text was updated successfully, but these errors were encountered: