Bug 1236376

Summary: calendar shows incorrect first day of week
Product: [Fedora] Fedora Reporter: Jan Včelák <jv+fedora>
Component: gnome-calendarAssignee: Igor Gnatenko <ignatenko>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: erecio, gnome-sig, ignatenko, poncho
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-19 15:06:00 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jan Včelák 2015-06-28 11:16:23 UTC
Description of problem:

gnome-calendar doesn't utilize LC_TIME to determine first week of day. It seems that LC_MESSAGES value is used instead.

I use Czech for all locales except for LC_MESSAGES, which I have set to English.

Gnome Calendar menu bars, buttons, etc. is shown in English (correctly), the month names are shown in Czech (correctly), but the first day of week is Sunday (incorrectly as it is Monday in Czech locale).

It's worth to say that the calendar in gnome shell notification area correctly shows Monday as a first day of week.

% localectl 
   System Locale: LANG=cs_CZ.utf8
                  LC_MESSAGES=en_US.utf8
       VC Keymap: cz-lat2
      X11 Layout: cz
     X11 Variant: qwerty

% env | grep -e LC -e LANG                                                           
LC_MESSAGES=en_US.utf8
LANG=cs_CZ.utf8
GDM_LANG=cs_CZ.UTF-8

% xargs -0 printf "%s\n" < /proc/$(pidof gnome-calendar)/environ | grep -e LANG -e LC
LC_MESSAGES=en_US.utf8
GDM_LANG=cs_CZ.UTF-8
LANG=cs_CZ.UTF-8


Version-Release number of selected component (if applicable):
gnome-calendar-3.16.2-1.fc22.x86_64

How reproducible:
always

Steps to Reproduce:
1. set locales according to my configuration
2. start gnome-calendar (from gnome or console)
3.

Actual results:
Sunday is shown as a first day of week.

Expected results:
Monday is shown as a first day of week.

Additional info:
Running 'LC_MESSAGES= gnome-calendar' make things work.

Comment 1 EMR_Fedora 2015-09-01 14:26:33 UTC
Same issue here, it shows Monday as first day and I cannot change it to use Sunday as first day of week, using KDE though KF5 specifically. I should have stayed on F21... KF5 is horrible.

Comment 2 Fedora End Of Life 2016-07-19 15:06:00 UTC
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.