Ubuntu – How to customize the date/time display in GNOME Shell’s top bar

dategnome-shelltop-bar

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

Best Answer

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

Related Question