After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 762428 - Week shouldn’t start on Sunday
Week shouldn’t start on Sunday
Status: RESOLVED FIXED
Product: gnome-calendar
Classification: Applications
Component: User Interface
3.20.x
Other Linux
: Normal normal
: 3.26
Assigned To: GNOME Calendar maintainers
GNOME Calendar maintainers
Depends on:
Blocks:
 
 
Reported: 2016-02-22 08:22 UTC by Daniel Aleksandersen
Modified: 2017-04-17 18:20 UTC
See Also:
GNOME target: ---
GNOME version: 3.19/3.20


Attachments
NLS: Week Shouldn't Start On Sunday (2.01 KB, patch)
2016-04-27 02:28 UTC, Isaque Galdino
committed Details | Review

Description Daniel Aleksandersen 2016-02-22 08:22:56 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.
Comment 1 Juha Siltala 2016-02-24 15:59:22 UTC
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.
Comment 2 Sebastien Bacher 2016-04-22 14:35:26 UTC
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
..."
Comment 3 Isaque Galdino 2016-04-27 02:28:19 UTC
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.
Comment 4 Georges Basile Stavracas Neto 2016-05-08 17:31:13 UTC
Thanks Isaque, that fixes the issue for me. If it happens again, feel free to reopen this bug.