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

Feature: Week Number in Calendar Component (Optional) #79

Closed
nikqig opened this issue Jan 26, 2024 · 5 comments
Closed

Feature: Week Number in Calendar Component (Optional) #79

nikqig opened this issue Jan 26, 2024 · 5 comments
Assignees
Labels

Comments

@nikqig
Copy link

nikqig commented Jan 26, 2024

I've been using your calendar library for a project and it's been incredibly helpful. I have a specific feature query regarding the display of week numbers ("Uge nr") within the calendar, a common requirement in Denmark.

Could you tell me if your calendar component natively supports week number calculation and display, considering locale-specific settings (like week start day)? If this feature isn't currently available, I would appreciate any help on how to customize or extend the UI integration to include week numbers.

Your help would be appreciated. Thanks in advance and great job creating this tool.

@maxkeppeler
Copy link
Owner

Hi Nikqig, I'm happy to hear that other developers like and can use the library! Could you show me how calendars typically look there with the week numbers? The general issue I've had so far with the calendar dialog/view was that the space was usually limited. I wonder if there's enough space to display the week number, and also in which ways it makes sense. If I know that, I will be able to add it. Can you show me some examples?

@nikqig
Copy link
Author

nikqig commented Jan 26, 2024

Yeah ofcourse! Here you go:

thumbnail_IMG_2189

thumbnail_IMG_2188

As you can see, the week numbers are compact and don't occupy a lot of space on the left side :)

@maxkeppeler maxkeppeler changed the title [Question] on Week Number Feature in Calendar Component Feature: Week Number in Calendar Component (Optional) Jan 29, 2024
@maxkeppeler
Copy link
Owner

I accept it as a feature, then. My time is limited though, and I'm experiencing a small personal crisis, so I will do it when I can and feel like it. I hope that's understandable!

@maxkeppeler maxkeppeler self-assigned this Jan 30, 2024
@maxkeppeler
Copy link
Owner

Calendar weeks for the monthly and weekly view are supported in the upcoming version.

@maxkeppeler
Copy link
Owner

Use displayCalendarWeeks in the CalendarConfig.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants