Score:4

How can I change the date and time format in GNOME Shell's top bar?

ru flag

I'm using Ubuntu 20.04 LTS. I want date and time in GNOME Shell's top bar to have the following format:

Sun Jun 13 07:26AM IST 2021

instead of the current:

Jun 13 12:53 PM

current date and time format

How can I achieve this?

Aravinth avatar
cn flag
For the week day 'Sun' to be added, i suggest you install the [gnome-tweak-tool](https://packages.ubuntu.com/hirsute/gnome-tweak-tool). And enable the Top Bar > Clock > Weekday
muru avatar
us flag
Does this answer your question? [How do I change the date format in Gnome 3 shell?](https://askubuntu.com/questions/312138/how-do-i-change-the-date-format-in-gnome-3-shell)
null avatar
gb flag
Says a lot about the developers of Gnome. Don't you know that 'merika rules the world, at least they think so.
Score:2
ca flag

There are several extensions in the GNOME Shell Extensions website, but most of them are not actively supported anymore. I'm suggesting you to use the Panel Date Format extension, which works fine on Ubuntu 20.04 and is still maintained.

To customize your clock after installing the extension, follow these steps:

  1. Open Extensions, find the Panel Date Format extension in the list and click the gear icon next to it.

  2. You will be presented with this Preferences menu (image from the extension's GitHub repository):

    preferences menu

  3. In the Format textbox enter the following to get the time format you want:

    %a %e %b %I:%M%p %Z %Y
    

    You can find more info about the date time format syntax here (link also mentioned in the extension's preferences).

  4. Restart GNOME Shell to ensure that the setting is applied by pressing Alt+F2, entering r and pressing Enter.

Your panel's clock should now have the appearance you want!

sivasdpi avatar
ru flag
Thank you all will try and tell.
BeastOfCaerbannog avatar
ca flag
@sivasdpi Did it work?
sivasdpi avatar
ru flag
Hi I tried unknown's command. It worked. Your suggestion felt difficult . Sorry
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.