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 317891 - The clock applet doesn't have the option to show the year
The clock applet doesn't have the option to show the year
Status: RESOLVED OBSOLETE
Product: gnome-panel
Classification: Other
Component: clock
git master
Other Linux
: Low enhancement
: ---
Assigned To: Panel Maintainers
Panel Maintainers
: 578491 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2005-10-04 02:34 UTC by Glynn Foster
Modified: 2020-11-07 12:15 UTC
See Also:
GNOME target: ---
GNOME version: 2.11/2.12


Attachments
suggested patch for bug 317891 (7.27 KB, patch)
2005-10-11 19:01 UTC, Daniel Taylor
none Details | Review
Same patch as above but only effects the tooltip (6.99 KB, patch)
2005-10-12 20:57 UTC, Daniel Taylor
rejected Details | Review
Same patch, year option effects both the main label and tooltip (7.35 KB, patch)
2005-10-12 20:59 UTC, Daniel Taylor
rejected Details | Review

Description Glynn Foster 2005-10-04 02:34:53 UTC
Apparently important according to our local bug tracker ;)
Comment 1 Glynn Foster 2005-10-04 02:35:31 UTC
admittedly you can see the year from the pop up calendar.
Comment 2 Daniel Taylor 2005-10-11 19:01:51 UTC
Created attachment 53339 [details] [review]
suggested patch for bug 317891
Comment 3 Daniel Taylor 2005-10-11 19:04:39 UTC
Hello,

This is my first patch for anything todo with gnome (so apologies if it's crap),
i spotted this simple bug via gnome love and thought i would have a go.

i couldn't find any doc's about edting schemas, so i only edited
clock.schemas.in,  sorry if i did this the wrong.

- Daniel
Comment 4 Vincent Untz 2005-10-11 19:31:40 UTC
(Daniel: you should add yourself to the cc list ;-). I did it)

Thanks for the patch. It looks okay. Now, the real question is: do we really
need this?

I agree that adding the year to the tooltip can make sense, but I'm not sure
adding it in the "main label" makes a lot of sense. And as Glynn points out, you
can see it in the calendar.

Glynn: how old was this bug in sun's bug tracker?
Comment 5 Glynn Foster 2005-10-11 22:54:58 UTC
Actually not that old - March 2005. And as far as I know when the bug was logged
we already had the calendar feature in the clock applet.
Comment 6 Daniel Taylor 2005-10-12 20:57:45 UTC
Created attachment 53381 [details] [review]
Same patch as above but only effects the tooltip

Heres patch 1 of 2 i just made,

This one only makes the 'year' option effect the tooltip of the clock, the
second (on it's way) will effect both the tooltip and the main label, this is a
feature missing from the first patch, as i did not take into consideration the
tooltip.

I'm not sure if it's really needed to have the year in the clock, but it can't
hurt to give the user the option. IMO. I would probably make it turned off by
default.

Also, currently the year is displayed in it's short form '05', would it be
better in it's long form '2005'? probably for the main label this would take up
to much room, but on the tooltip it should fit fine.
Comment 7 Daniel Taylor 2005-10-12 20:59:10 UTC
Created attachment 53382 [details] [review]
Same patch, year option effects both the main label and tooltip

Patch 2 of 2

Same patch as before but this time the year option effects both the main label
and tooltip.
Comment 8 Glynn Foster 2005-10-12 21:48:55 UTC
Daniel - really good to see your contributions, so thank you for them regardless
of whether this feature actually makes it into the panel sources.
Comment 9 Vincent Untz 2005-10-13 05:31:07 UTC
I'm not sure if american english uses 05 or 2005. If you need 2005, I think you
have to use %Y.

> I'm not sure if it's really needed to have the year in the clock, but it
> can't hurt to give the user the option.

Well, I agree that we can add the option in Gconf. But I'm not sure adding it to
the UI is good.

Anyway, the patch looks okay and I'll look at it for 2.14. Thanks a lot.

You're of course welcome to make patches for other gnome-love bugs :-)
Comment 10 Florian Rivoal 2006-01-28 02:26:53 UTC
A high number of highly technical preferences is confusing to the user, sure. But Given how limited the number of options is for the clock applet, and how every body would understand what "show year" means, It is not going to be that confusing. I don't think it belongs in Gconf. Showing the year is something the people who are far from being able to understand  what Gconf is might still want.
Comment 11 Guilherme de Siqueira Pastore 2006-03-09 22:47:16 UTC
I tend to agree with comment #10. It is not like the configuration dialog for the clock applet is cluttered with options, and I also don't think users would scream at the mere sight of a "Show year" option =)

Vincent?
Comment 12 Mariano Suárez-Alvarez 2007-02-15 21:03:42 UTC
/me fails to see what's the use of putting the year in the UI...
Comment 13 Philip Withnall 2009-07-07 23:31:25 UTC
*** Bug 578491 has been marked as a duplicate of this bug. ***
Comment 14 Victor Vargas 2010-07-29 22:04:33 UTC
there is/exists an option in gconf-editor or maybe a trick (please exclude idea to apply attached path) to show current year in clock applet? because this requirement is still present for some users in latest release included in Ubuntu Maverick (2.30.x), Thanks.
Comment 15 Lonnie Lee Best 2010-07-29 22:33:35 UTC
My reason I want the option to show year, on the screen, all the time:
https://bugs.launchpad.net/ubuntu/+source/gnome-panel/+bug/465689
Comment 16 Lonnie Best 2012-04-26 16:27:30 UTC
Now it has been almost 2 years, since my previous comment (comment 15), without any progress. Can someone make this happen?

This affects several projects:
https://bugs.launchpad.net/bugs/465689

Ubuntu 12.04 was released this morning:
http://www.reddit.com/r/linux/comments/stfus/ubuntu_1204_released_now_available_for_download/

And, there is still no option to "show year" on the clock.
Comment 17 Lonnie Best 2012-10-15 16:09:32 UTC
Here's the way I like my clock to look:

Monday | 10-15-2012 | 11:07AM

In order to do this, I must run the following command in the terminal:

gsettings set com.canonical.indicator.datetime time-format "'custom'" ; gsettings set com.canonical.indicator.datetime custom-time-format "'%A | %m-%d-%Y | %l:%M%p'"

This should be achievable in the GUI configuration settings; at least to the degree that you can "show year".
Comment 18 Sebastian 2013-10-11 22:35:22 UTC
Review of attachment 53382 [details] [review]:

This patch only works with gconf. It also no longer applies to the source tree as too much code has already changed.
Comment 19 Sebastian 2013-10-11 22:35:54 UTC
Review of attachment 53381 [details] [review]:

This patch only works with gconf. It also no longer applies to the source tree as too much code has already changed.
Comment 20 Sebastian 2013-10-11 22:38:11 UTC
Assigning this to me.
Comment 21 Lonnie Best 2018-04-06 19:05:28 UTC
In GNOME 3, I was able to achieve this with an extension:
https://askubuntu.com/a/1022628/256054

However, I certainly wish the GUI offered these advance settings.
Comment 22 André Klapper 2020-11-07 12:15:02 UTC
bugzilla.gnome.org is being replaced by gitlab.gnome.org. We are closing all
old feature requests in Bugzilla which have not seen updates for many years.

If you still use gnome-panel and if you are still requesting this feature in a currently supported version of GNOME (currently that would be 3.38), then please feel free to report it at https://gitlab.gnome.org/GNOME/gnome-panel/-/issues/

Thank you for reporting this issue and we are sorry it could not be implemented.