Add time format preference with system, 12, and 24 options - #7616
Open
larouxn wants to merge 1 commit into
Open
Conversation
larouxn
force-pushed
the
24_hour_mode_support
branch
from
November 25, 2025 13:17
3c27657 to
9d476bc
Compare
larouxn
force-pushed
the
24_hour_mode_support
branch
from
December 5, 2025 03:10
9d476bc to
afae456
Compare
larouxn
force-pushed
the
24_hour_mode_support
branch
2 times, most recently
from
December 18, 2025 21:44
d4a85f4 to
c9388b4
Compare
larouxn
force-pushed
the
24_hour_mode_support
branch
from
January 8, 2026 02:05
c9388b4 to
967b1ef
Compare
larouxn
force-pushed
the
24_hour_mode_support
branch
from
January 21, 2026 22:59
967b1ef to
e757586
Compare
Author
larouxn
force-pushed
the
24_hour_mode_support
branch
from
February 4, 2026 21:59
e757586 to
7bb9f9d
Compare
larouxn
force-pushed
the
24_hour_mode_support
branch
from
February 12, 2026 18:21
7bb9f9d to
9e48465
Compare
larouxn
force-pushed
the
24_hour_mode_support
branch
from
March 3, 2026 20:14
9e48465 to
f7d0d3d
Compare
|
Please approve? I need this! |
larouxn
force-pushed
the
24_hour_mode_support
branch
from
March 13, 2026 14:31
f7d0d3d to
24f8676
Compare
Author
larouxn
force-pushed
the
24_hour_mode_support
branch
2 times, most recently
from
April 8, 2026 22:36
f5ddc3b to
66402ee
Compare
larouxn
force-pushed
the
24_hour_mode_support
branch
from
April 27, 2026 21:20
66402ee to
d0de182
Compare
larouxn
force-pushed
the
24_hour_mode_support
branch
from
June 10, 2026 18:45
d0de182 to
dd4450a
Compare
larouxn
force-pushed
the
24_hour_mode_support
branch
from
July 4, 2026 15:34
dd4450a to
c48dc68
Compare
larouxn
force-pushed
the
24_hour_mode_support
branch
from
July 9, 2026 19:43
c48dc68 to
051c8fc
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


First time contributor checklist:
Contributor checklist:
mainbranchpnpm run readypasses successfully (more about tests here)Description
This pull request aims to add a
Time formatpreference withsystem,12, and24options so that users can either leave it up to their locale to specify the time format (system) or manually select either12or24themselves. The preference should appears directly belowLanguageand aboveTheme.As for the implementation, the one thing that is currently bothering me a bit is the existence of both
HourCyclePreferenceandHourCycleSetting. Unfortunately as the former is already in use for the original 24 hour macOS support implementation, shown below, we cannot settle on just one without refactoring the existing code. 🤔Signal-Desktop/ts/types/I18N.std.ts
Lines 37 to 41 in 90c0fc7
Sort of a follow up to 1143c0e, which added 24 hour time format for macOS.
Resolves #4079 (exactly)
Resolves #4252 (sort of, not exactly)
Testing
I added test coverage for this new preference. Additionally I tried running the app locally on my Fedora Workstation 43 (GNOME 49) system but unfortunately I'm seeing some GTK error with the local build. Not sure if that's due to an issue on my end or not.
Screencast.From.2025-11-24.18-14-59.mp4