Whether the clock displays in 24h or 12h format

Whether the clock displays in 24h or 12h format

- Type: dconf
- Key: /org/gnome/desktop/interface/clock-format
- Default: '24h'

Note: default system value is used for "Not Configured" and enforced if "Disabled".

Supported on Ubuntu 20.04, 22.04, 22.10.

Supported on: Ubuntu

Registry HiveHKEY_LOCAL_MACHINE
Registry PathSoftware\Policies\Ubuntu\gdm\dconf\org\gnome\desktop\interface\clock-format
Value NamemetaValues
Value TypeREG_SZ
Enabled Value{"20.04":{"empty":"''","meta":"s"},"22.04":{"empty":"''","meta":"s"},"22.10":{"empty":"''","meta":"s"},"all":{"empty":"''","meta":"s"}}
Disabled Value{"20.04":{"meta":"s"},"22.04":{"meta":"s"},"22.10":{"meta":"s"},"all":{"meta":"s"}}

Whether the clock displays in 24h or 12h format


  1. 24h
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Ubuntu\gdm\dconf\org\gnome\desktop\interface\clock-format
    Value Nameall
    Value TypeREG_SZ
    Value24h
  2. 12h
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Ubuntu\gdm\dconf\org\gnome\desktop\interface\clock-format
    Value Nameall
    Value TypeREG_SZ
    Value12h

Override value for 22.10:
Registry HiveHKEY_LOCAL_MACHINE
Registry PathSoftware\Policies\Ubuntu\gdm\dconf\org\gnome\desktop\interface\clock-format
Value NameOverride22.10
Value TypeREG_SZ
Default Valuefalse
True Valuetrue
False Valuefalse



  1. 24h
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Ubuntu\gdm\dconf\org\gnome\desktop\interface\clock-format
    Value Name22.10
    Value TypeREG_SZ
    Value24h
  2. 12h
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Ubuntu\gdm\dconf\org\gnome\desktop\interface\clock-format
    Value Name22.10
    Value TypeREG_SZ
    Value12h

Override value for 22.04:
Registry HiveHKEY_LOCAL_MACHINE
Registry PathSoftware\Policies\Ubuntu\gdm\dconf\org\gnome\desktop\interface\clock-format
Value NameOverride22.04
Value TypeREG_SZ
Default Valuefalse
True Valuetrue
False Valuefalse



  1. 24h
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Ubuntu\gdm\dconf\org\gnome\desktop\interface\clock-format
    Value Name22.04
    Value TypeREG_SZ
    Value24h
  2. 12h
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Ubuntu\gdm\dconf\org\gnome\desktop\interface\clock-format
    Value Name22.04
    Value TypeREG_SZ
    Value12h

Override value for 20.04:
Registry HiveHKEY_LOCAL_MACHINE
Registry PathSoftware\Policies\Ubuntu\gdm\dconf\org\gnome\desktop\interface\clock-format
Value NameOverride20.04
Value TypeREG_SZ
Default Valuefalse
True Valuetrue
False Valuefalse



  1. 24h
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Ubuntu\gdm\dconf\org\gnome\desktop\interface\clock-format
    Value Name20.04
    Value TypeREG_SZ
    Value24h
  2. 12h
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Ubuntu\gdm\dconf\org\gnome\desktop\interface\clock-format
    Value Name20.04
    Value TypeREG_SZ
    Value12h


ubuntu.admx

Administrative Templates (Computers)