Skip to content

"Last checked" time format: Apply GNOME user settings for 12h/24h#49

Merged
purejava merged 2 commits into
purejava:mainfrom
marinierb:date-time-format
Jul 13, 2026
Merged

"Last checked" time format: Apply GNOME user settings for 12h/24h#49
purejava merged 2 commits into
purejava:mainfrom
marinierb:date-time-format

Conversation

@marinierb

Copy link
Copy Markdown

Previously the "Last checked" timestamp used Date.toLocaleString(), ignoring the user's GNOME 12h/24h clock preference. This reads org.gnome.desktop.interface's clock-format key and formats the time accordingly (%I:%M %p for 12h, %H:%M for 24h), updating live if the user changes the setting while the extension is running.

@marinierb marinierb changed the title "Last checked" date and time format: Apply GNOME user settings "Last checked" time format: Apply GNOME user settings for 12h/24h Jul 13, 2026
@purejava

Copy link
Copy Markdown
Owner

Thank you very much for your well-written PR. That's a nice improvement!

However, I'd suggest a litte change inline.

Comment thread extension.js Outdated
Co-authored-by: Ralph Plawetzki <ralph@purejava.org>
@purejava purejava merged commit b6ecb65 into purejava:main Jul 13, 2026
@marinierb marinierb deleted the date-time-format branch July 13, 2026 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants