GNOME Bugzilla – Bug 762428
Week shouldn’t start on Sunday
Last modified: 2017-04-17 18:20:40 UTC
In the Calendar app the month and year view shows the week starting on Sunday. However, the calendar widget in the GNOME notification drawer (clicking on the clock at the top of the screen) correctly shows the first day of the week as Monday. My system’s language setting is set to English (en-us) but the format setting is Norwegian (nb-no). It looks like Calendar incorrectly assumes format from language rather than format. Secondary: The names of the months and days incorrectly use Norwegian names while the rest of the UI is in English.
I use LANG=en_DK-UTF-8 which gives me a nice systemwide compromise of English language and European formatting. The only place where this is not honored is gnome-calendar.
That has been reported on the Ubuntu bug tracker as well https://bugs.launchpad.net/ubuntu/+source/gnome-calendar/+bug/1573636 "I use Ubuntu 16.04 (LTS) with the stock Calendar app (Gnome-calendar, ver. 3.20.1). My system language is en_US however my regional is fi_FI. The Gnome Calendar Shell is showing the first day of the week as a monday (which is correct in this region) however the stock calendar app is still showing Sunday. LANG=en_US.UTF-8 LC_CTYPE="en_US.UTF-8" LC_TIME=fi_FI.UTF-8 ..."
Created attachment 326822 [details] [review] NLS: Week Shouldn't Start On Sunday Calendar is not handling locale correctly, e.g. user’ set language to English (en-us) and format to Norwegian (nb-no), but Calendar assumes English format rather than Norwegian. Calendar code was ready to use the correct format, just like Shell and GtkCalendar. The issue was in the build script which was setting the correct locale variable responsible to make that code work. This patch fixes the build script.
Thanks Isaque, that fixes the issue for me. If it happens again, feel free to reopen this bug.