Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • G gsettings-desktop-schemas
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 24
    • Issues 24
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 10
    • Merge requests 10
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOME
  • gsettings-desktop-schemas
  • Merge requests
  • !55

Open
Created Jan 08, 2022 by Michael Catanzaro@mcatanzaroDeveloper
  • Report abuse
Report abuse

Fix default clock format, and allow localization

  • Overview 0
  • Commits 1
  • Pipelines 1
  • Changes 1

Currently the default clock format is unconditionally set to a 24-hour clock. This is incorrect because the default locale is US English, which uses a 12-hour clock. But we really do want to default to 24-hour clocks in other locales. What to do?

Sebastian Keller proposed making the default value translatable, which is apparently a thing that's actually possible. Well, sort of possible. The functionality is currently broken, but it's intended to work, so let's make use of it here. A fix for GLib to make this actually work will be proposed separately, see glib#2575.

Translators: you will want to translate this from '12h' to '24h' if your locale uses a 24-hour clock. Yes, it's a shame that we have to do this when in theory the locale already knows how to format time, but this is a pragmatic solution.

Fixes #30

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: mcatanzaro/clock-format