15

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")?

  • 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. – user692175 Oct 25 '17 at 2: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
16

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

2

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

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.

  • 1
    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. askubuntu.com/questions/1096203/… – Steve Feb 21 '19 at 4:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.