Bug 16314 - wrong week number in gnome calendar (panel widget)
Summary: wrong week number in gnome calendar (panel widget)
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 5
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Remco Rijnders
QA Contact: QA Team
URL: https://bugzilla.gnome.org/show_bug.c...
Whiteboard: MGA5-64-OK
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2015-07-07 01:35 CEST by Christian Lohmaier
Modified: 2015-08-30 14:32 CEST (History)
2 users (show)

See Also:
Source RPM: gnome-shell-3.14.3-7.mga5.src.rpm
CVE:
Status comment:


Attachments

Description Christian Lohmaier 2015-07-07 01:35:03 CEST
Description of problem:
gnome's clock/calendar widget in the top panel display wrong week nummber.
Week 13 occurs twice, putting off everything one week until week 43 that is missing)


Steps to Reproduce:

Enable display of week number in calendar (launch gnome-tweak-tool, top panel â show calendar week

Click the date/time display in the top panel to expand the calendar
â see that the week is off by one

Reason is weird manual calculation of the week that doesn't take DST into account.

The patch to the upstream bug gets rid of that "reinventing-the-wheel" function and uses GDateTime one instead:

https://bug736722.bugzilla-attachments.gnome.org/attachment.cgi?id=290644



Reproducible: 

Steps to Reproduce:
Comment 1 Remco Rijnders 2015-07-07 07:50:28 CEST
Hi Christian,

Thank you for the clear report and the pointer to the needed patch. It makes addressing this issue very easy for us indeed!

In updates_testing you'll now find gnome-shell-3.14.3-8.1.mga5

Can you see if this fixes the problem for you?

CC: (none) => remco
QA Contact: (none) => qa-bugs

Rémi Verschelde 2015-07-07 08:42:15 CEST

Keywords: (none) => PATCH
Summary: wrong week number in gnome calendar (panel widget) [patch available] => wrong week number in gnome calendar (panel widget)

Comment 2 Christian Lohmaier 2015-07-08 16:45:02 CEST
yes, I can confirm that the update from testing solves the problem.
Comment 3 Rémi Verschelde 2015-07-08 18:28:27 CEST
On which architecture did you test the update? Feel free to add the corresponding marker in the whiteboard field: MGA5-32-OK or MGA5-64-OK.
Comment 4 Christian Lohmaier 2015-07-08 18:30:16 CEST
I switched all  my systems  to 64bit, so only  verified on 64bit

Whiteboard: (none) => MGA5-64-OK

Comment 5 Damien Genthial 2015-08-25 11:21:18 CEST
On a Mageia5_64, with gnome-shell-3.14.3-8.1, French localization, I've always have 2 weeks 13 : on Monday 03/23 and Monday 03/30 and no week 43 at the end of october.

CC: (none) => Damien.Genthial

Comment 6 Remco Rijnders 2015-08-25 14:18:31 CEST
Damien, can you please confirm/double check that indeed you have version gnome-shell-3.14.3-8.1.mga5 from updates-testing installed? This because the same package works for Christian.

Note that you may have to log out of gnome and back in again to see a difference (I'm not sure).
Comment 7 Damien Genthial 2015-08-26 10:47:26 CEST
(In reply to Remco Rijnders from comment #6)
 
> Note that you may have to log out of gnome and back in again to see a
> difference (I'm not sure).

It works fine with gnome-shell-3.14.3-8.1.mga5 ! My mistake was to restart gnome-shell without restarting the user session. I closed the session and open it back and I have correct week numbers.

Thanks for your answer and sorry for the unnecessary work.
Comment 8 Remco Rijnders 2015-08-26 10:50:10 CEST
No worries Damien, my bad for not getting this moved to QA!

Assignee: bugsquad => qa-bugs

Comment 9 Samuel Verschelde 2015-08-27 16:54:25 CEST
Remmy, this update could be validated but it lacks the advisory. See: https://wiki.mageia.org/en/Update_Advisory_Announcement_Example
Comment 10 James Kerr 2015-08-30 00:55:52 CEST
Do we need an advisory for this? gnome-shell-3.14.3-8.1.mga5 is already available in updates:
http://advisories.mageia.org/MGAA-2015-0068.html

Can we not just close this bug as fixed?

(It was not tested with bug #16005 because this bug was not assigned to QA at that time.)
Comment 11 James Kerr 2015-08-30 14:18:31 CEST
I have a vague recollection that someone said once that an advisory can be modified after it has been released. I can't remember the details but if that is true, then perhaps the advisory for bug #16005 could be changed to include this bug.
Comment 12 Rémi Verschelde 2015-08-30 14:31:41 CEST
Indeed, I updated the advisory for bug 16005 in SVN, IINM it should be updated on the website next time advisories are pushed.
Comment 13 Rémi Verschelde 2015-08-30 14:32:42 CEST
Closing as fixed by http://advisories.mageia.org/MGAA-2015-0068.html

Status: NEW => RESOLVED
See Also: (none) => https://bugs.mageia.org/show_bug.cgi?id=16005
Resolution: (none) => FIXED
Assignee: qa-bugs => remco


Note You need to log in before you can comment on or make changes to this bug.