19

Time indicator is shown as "%a %H:%M" in the center of the top bar.

How do I move it back to the right where it belongs, and make it include the full date and time ("%Y-%m-%d %s %H:%M")?

muru
  • 197,895
  • 55
  • 485
  • 740
sds
  • 2,543
  • 3
    Not a regression if you're comparing oranges with tangerines. It is as always has been in Gnome which is now the default DE instead of Unity. –  Oct 25 '17 at 02:40
  • 1
    I would recommend removing the last paragraph (reason: what MichaelBay said) and change the title to something like "How do I change the position and format of date & time in top bar of Ubuntu 17.10?" as it's not "wrong", that's how it is in GNOME. – pomsky Oct 25 '17 at 11:39

3 Answers3

19

You may achieve your goal using some GNOME shell extensions.

Moving clock to the right

You may use Frippery Move Clock.

See this Q&A for more options.

Changing date & time format

You may use Clock override. It lets you

Override the Gnome Shell clock with a new time format or text of your choice.

It supports Python's strftime format (so you'll be able to set your preferred "%Y-%m-%d %s %H:%M" format to display).

enter image description here

pomsky
  • 68,507
3

Panel Date Format is another GNOME Shell extension that allows you to modify the formatting of date and time in the top panel, e.g. to include the current week number.

I used

dconf write /org/gnome/shell/extensions/panel-date-format/format "'%a (KW %V) %d.%m.%y %H:%M'"

to display below format:

enter image description here

pomsky
  • 68,507
orschiro
  • 13,317
  • 17
  • 87
  • 161
1

Another place to look:- Ubuntu Software Centre - certainly in Ubuntu 17.10. If you search for "clock" a whole list of different programs is displayed, Clock Override among them.

  • 2
    I realize this is an old question but it's quite relevant to a question I answered recently. The customization of the formatting of the Gnome 3 top bar clock to your liking can be cleanly achieved through gnome shell localization/internationalization configuration without extensions. https://askubuntu.com/questions/1096203/how-to-display-custom-formatted-clock-in-top-bar-on-multiple-displays-in-ubuntu – Steve Feb 21 '19 at 04:27