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

DateTimePicker: firstWeekOfYear #1464

Closed
RicoNL opened this issue Feb 21, 2023 · 1 comment · Fixed by #1471
Closed

DateTimePicker: firstWeekOfYear #1464

RicoNL opened this issue Feb 21, 2023 · 1 comment · Fixed by #1471
Assignees
Labels
Needs: Triage 🔍 status:fixed-next-drop Issue will be fixed in upcoming release.
Milestone

Comments

@RicoNL
Copy link
Contributor

RicoNL commented Feb 21, 2023

Category

[X] Enhancement

[] Bug

[ ] Question

Version

Please specify what version of the library you are using: [ 3.12.0 ]

Expected / Desired Behavior / Question

Weeknumbers in the datetimepicker should corresponds to the weeknumbers in e.g. Outlook, based on the settings. This can be achieved by utilizing the firstWeekOfYear-property from Fluent UI datepicker into the dateTimePicker-control.

Observed Behavior

Since the first day of the week is monday in the Netherlands and the first week of the year is currently based on the first day of the year, the weeknumbers in the datetimepicker show a wrong number.

Steps to Reproduce

Add a datetimepicker to a webpart and set the firstDayOfTheWeek to Monday. Week 1 starts to early this year.

@ghost
Copy link

ghost commented Feb 21, 2023

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.

@ghost ghost added the Needs: Triage 🔍 label Feb 21, 2023
@joaojmendes joaojmendes self-assigned this Feb 21, 2023
@joaojmendes joaojmendes added this to the 3.13.0 milestone Feb 21, 2023
@joaojmendes joaojmendes added the status:fixed-next-drop Issue will be fixed in upcoming release. label Feb 21, 2023
@AJIXuMuK AJIXuMuK mentioned this issue Feb 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs: Triage 🔍 status:fixed-next-drop Issue will be fixed in upcoming release.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants