Skip to main content
Completed

Show week number in date picker

Related products:Windows GUIUniversal GUI

A lot of our users rely on week numbers when discussing certain dates. However the current datepicker available in the Universal GUI does not show week numbers. It would make their experience better when it is shown.

Did this topic help you find an answer to your question?

19 replies

Forum|alt.badge.img+2
  • Sidekick
  • 13 replies
  • August 4, 2023

Great idea! 


Mark Jongeling
Administrator
Forum|alt.badge.img+23
NewOpen

Marius Korff
Captain
Forum|alt.badge.img+6

This would greatly enhance the user experience 😄

It’s also a bit inconsistent that week numbers can be shown in the scheduler, but not the date picker. This is actually something that is needed for our client in the agricultural sector 👀


Mark Jongeling
Administrator
Forum|alt.badge.img+23

Little insights on it, Universal GUI uses <input type="date" /> (info). Doesn't seem to be an easy way of enabling week numbers with this input type. To have week numbers, we may need to introduce a different component to do this.


Remco Duijsens
Vanguard
Forum|alt.badge.img+1

@Mark Jongeling It only needs to be shown visually in the date picker for our client. 


Jeroen van den Belt
Administrator
Forum|alt.badge.img+9
The following idea has been merged into this idea:

All the votes have been transferred into this idea.

Forum|alt.badge.img

if thinkwise uses jquery with jquery UI. This should be fairly easy:

 

    <script>
        $(function() {
            $("#datepicker").datepicker({
                showWeek: true
            });
        });
    </script>


Marius Korff
Captain
Forum|alt.badge.img+6
  • Captain
  • 63 replies
  • September 25, 2024
Mark Jongeling wrote:

Little insights on it, Universal GUI uses <input type="date" /> (info). Doesn't seem to be an easy way of enabling week numbers with this input type. To have week numbers, we may need to introduce a different component to do this.

Is this (still) the reason that this idea is not put in the backlog? Or does it not have enough votes?
I’m asking because this would be very useful for our client, thanks! 😄


Arie V
Community Manager
Forum|alt.badge.img+12
  • Community Manager
  • 975 replies
  • September 25, 2024

@Corstiaan Kamp @Marius Korff the Universal GUI is built with React and up until now we use the native Date Pickers of each Operating System. Due to limitations like these, the team is currently working on replacing the native Date Pickers with the MUI Date Picker: https://mui.com/x/react-date-pickers/date-picker/.

Once that is finalized (hopefully by end of this Sprint), we can consider implementing this Idea.


Arie V
Community Manager
Forum|alt.badge.img+12
  • Community Manager
  • 975 replies
  • October 8, 2024

FYI: got some exiting news today, it seems safe to add this to the scope of replacing the Calendar Controls. All going well this means it will be delivered with Universal GUI 2024.3.11 by end of the Sprint!

Sneak preview:

 


Arie V
Community Manager
Forum|alt.badge.img+12
  • Community Manager
  • 975 replies
  • October 8, 2024
OpenWorking on it!

Remco Duijsens
Vanguard
Forum|alt.badge.img+1

Good work! Never thought I would get this excited over week numbers 😆


Erik Brink
Moderator
Forum|alt.badge.img+5
  • Moderator
  • 497 replies
  • October 23, 2024

As Arie already promised, this idea is available in the release candidate of 2024.3.11. You can download it now in TCP.

The official release will be next week.


Erik Brink
Moderator
Forum|alt.badge.img+5
  • Moderator
  • 497 replies
  • October 23, 2024
Working on it!Completed

  • Rookie
  • 2 replies
  • November 11, 2024

Shouldn't the week start on monday and end on sunday according to most standards like ISO?


Mark Jongeling
Administrator
Forum|alt.badge.img+23
  • Administrator
  • 3936 replies
  • November 11, 2024
JacobVenema wrote:

Shouldn't the week start on monday and end on sunday according to most standards like ISO?

I believe it is derived from your browser settings. This is how mine looks:

Datepicker, also note this is in Dutch format

 


Forum|alt.badge.img+5
  • Author
  • Captain
  • 47 replies
  • November 13, 2024

I’m really happy to see this feature in our application and I'm also a big fan of the other changes that were made to the datepicker 👍

Mark Jongeling wrote:
JacobVenema wrote:

Shouldn't the week start on monday and end on sunday according to most standards like ISO?

I believe it is derived from your browser settings. This is how mine looks:

Datepicker, also note this is in Dutch format

 

 @Mark Jongeling could you point out the specific browser setting? I've seen this feature on a couple of machines/browsers now and all of them have the Sunday as the first day of the week. Maybe I've been unlucky but it seems strange that by default this setting is "wrong” on most browsers.

 


Mark Jongeling
Administrator
Forum|alt.badge.img+23
  • Administrator
  • 3936 replies
  • November 14, 2024
HarryA wrote:

Mark, could you point out the specific browser setting? I've seen this feature on a couple of machines/browsers now and all of them have the Sunday as the first day of the week.

I tried it a bit but it seems like when the Language of your application is set to English, the first day of the week is Sunday, whilst if you use Nederlands, the first day is Monday. @Alexandra Egri, do you know what influences the datepicker presentation and what we can do to have the datepicker in English with the first day of the week on Monday?


Arie V
Community Manager
Forum|alt.badge.img+12
  • Community Manager
  • 975 replies
  • November 14, 2024

@Alexandra Egri looked into it and confirmed that it is indeed based on the Application language at the moment. We consider this a bug, as indeed it should be dependent on your local OS settings as @Mark Jongeling already suggested: Date and Time Pickers - Date format and localization - MUI X

 

@HarryA @JacobVenema I have raised ticket 10473S on behalf of your Company in order to get this resolved.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings