Skip to content

About

A GNOME Shell extension that lets users specify the date and time format displayed in GNOME3's top bar. Tested on GNOME3 48 Mutter (Wayland).

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

gnome3-date-tweaks

A GNOME Shell extension that lets you customize the date and time format displayed in the top bar. Tested on GNOME3 48 Mutter (Wayland).

Installation

make install
make enable

WARNING: make enable might not work on the first try. On Wayland, log out and back in, and try running make enable again. It should work this time. If running X11, press Alt+F2, type r, and press Enter to restart the environment.

Changing the format

Open extension.js and edit the DATE_FORMAT constant near the top of the file:

const DATE_FORMAT = '%A %Y-%m-%d  CW%V  %H:%M';

After editing, reinstall and reload:

make install
make disable
make enable

Format codes

The format string uses strftime-style codes via GLib. Common codes:

Code Meaning Example
%A Weekday name Monday
%a Weekday abbrev Mon
%d Day (zero-padded) 05
%-d Day (no padding) 5
%b Month abbrev Feb
%B Month name February
%Y Year 2026
%H Hour 24h 14
%I Hour 12h 02
%M Minute 30
%p AM/PM PM
%V ISO 8601 week number 09
%W Week number (Mon-based) 09
%U Week number (Sun-based) 08

Full reference: https://docs.gtk.org/glib/method.DateTime.format.html

Supported GNOME versions

  • GNOME 45
  • GNOME 46
  • GNOME 47
  • GNOME 48 (latest at the time of publishing this repository)

Uninstall

make disable
make uninstall

About

A GNOME Shell extension that lets users specify the date and time format displayed in GNOME3's top bar. Tested on GNOME3 48 Mutter (Wayland).

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages