Skip to main content

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.

Great idea! 


NewOpen

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 👀


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.


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


The following idea has been merged into this idea:

All the votes have been transferred into this idea.

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

 

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


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! 😄


@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.


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:

 


OpenWorking on it!

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


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.


Working on it!Completed

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


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

 


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 👍

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, 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?


@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.