5

The Language & Region Settings I configured for the UK, as follows: enter image description here

Yet the Panel shows the Date in format: 'Tue May 8'

Is there a trick I'm missing?

Also, I don't see anywhere to further customize the date format using the codes, eg. %Y-%m-%d (for ISO 8601 date format)

I have noted that there is a GNOME Shell Extension: Datetime Format, which appears to allow further customisation, but I'd rather use the core functionality if at all possible.

This is a similar question to this one, but the 17.10 question goes unanswered, and I got the impression that GNOME in 17.10 was somewhat early-access and perhaps not fully formed.

Update: There is a way (without extension) to achieve a date and time format of your choosing by editing and implementing the appropriate gnome.desktop localisation LC_MESSAGES file, as described here

  • 1
    If I'm not mistaken it's default behaviour, probably GNOME developers haven't thought of implementing format as per locale settings yet. Consider reporting a bug. It seems currently no other way than using some extensions. – pomsky May 8 '18 at 7:48
  • Hurray for ISO 8601 date format! So, did you prefer the Clock override approach or the DateTime format approach? – GlenPeterson May 1 at 20:53
  • I'm curious. Does this work? dconf write /org/gnome/shell/extensions/panel-date-format/format "'%Y-%m-%d'" taken from extensions.gnome.org/extension/1462/panel-date-format – GlenPeterson May 1 at 20:56
  • If you're just interested in ISO-8601 for IntelliJ IDEA, edit bin/idea.sh to add this line: export LC_TIME=sv_SE - that worked for me! Source: youtrack.jetbrains.com/issue/… – GlenPeterson May 1 at 21:15
3

It seems to be an issue with GNOME shell.

But you can override the date format using a GNOME shell extension called 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 "%d/%m/%y" format to display).

enter image description here

  • Many thanks pomsky, so you would choose Clock Override over Datetime Format... is that just a choice or based on functionality/security/etc? – Broadsworde May 8 '18 at 8:12
  • @Broadsworde I believe both can be used achieve the same thing in a similar way. I just mentioned Clock Override in the answer as you've already mentioned Datetime Format in the question. – pomsky May 8 '18 at 8:34
  • Thanks again pomsky. I have reported a bug as you suggested (bugzilla.gnome.org/show_bug.cgi?id=795912) – Broadsworde May 8 '18 at 9:11

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.