GNOME Bugzilla – Bug 681325
clock shows wrong month-page when opening calendar
Last modified: 2013-05-20 14:22:53 UTC
when i click on the calendar (currently its 06.08.2012) then the month-page shows "September". i tried to reinstall gnome-panel and removing the config but it does not help
Which gnome-panel version is this about? How did you try to "remove the config"? Which distribution is this about? Could you also attach a screenshot here?
gnome-panel version: 1:3.5.4-0ubuntu2 my system: Ubuntu Version 12.10 (quantal) (64-Bit) Kernel Linux 3.5.0-8-lowlatency GNOME 3.5.4 (logged in with gnome-classic) i tryed to remove the config with removing some of the files in ~/.config but it does not help
Created attachment 220512 [details] after clicking on the clock
Created attachment 226265 [details] [review] Set correct month on startup Hi, it seems to me that this problem was introduced by this commit: http://git.gnome.org/browse/gnome-panel/commit/?id=cd1a0db671b6eb57efcf2770287882e625ae1753. Function gtk_calendar_select_month() expects month to be a number from interval 0 - 11 but g_date_time_get_day_of_month() returns number from interval 1 - 12. Attached patch fixes this for me. Regards Marek
Comment on attachment 226265 [details] [review] Set correct month on startup Thanks, please commit with two small changes: prefix the first line in the commit log with "clock: " and put the full bug URL instead of (#681325).
Comment on attachment 226265 [details] [review] Set correct month on startup (In reply to comment #5) > (From update of attachment 226265 [details] [review]) > Thanks, please commit with two small changes: prefix the first line in the > commit log with "clock: " and put the full bug URL instead of (#681325). Hi, I've committed the patch with suggested changes (I was a little busy yesterday :) ). Regards Marek
*** Bug 687985 has been marked as a duplicate of this bug. ***
*** Bug 688022 has been marked as a duplicate of this bug. ***
*** Bug 695896 has been marked as a duplicate of this bug. ***