M BUZZ CRAZE NEWS
// news

UI calendar shows wrong week number

By Jessica Wood

Does anybody know why would the calendar show the wrong week number (a number less -> 15 instead of 16):

enter image description here

Whereas the current week is 16... The interesting thing is that date +%V command in the terminal returns me the correct number 16. So, it's not like the fault is in the core of the system or something like that.

I can live with that, of course, but it is just interesting why is that happening.

0

1 Answer

Depends on localization. Not everyone agrees on what "week 1" is in a year. In Holland for instance week 1 starts when it has 4 or more days in that year (so week 1 is that week where the 1st Thursday is in the new year). But other countries start week 1 on Jan 1st or on the 1st Monday that is in the new year. And you can get a deviation of 1 between the methods used.

My clock (using Dutch localization):

enter image description here

Check "settings" "Language support" "Regional formats" for what you are using. Mine is set to "Netherlands". Then check on-line how for that country week 1 is defined.

5

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy