镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

[Bug]: Custom snooze time picker ignores the Time format setting #19930

Open

Description

@mirsella

Before submitting

Area

apps/web / apps/desktop

Steps to reproduce

  1. In Settings → Time format, select 24-hour.
  2. Open a thread's Snooze → Custom → Date and time dialog.
  3. Open the time picker.

Expected behavior

The time picker respects the configured time format:

  • 24-hour: 17:30
  • 12-hour: 5:30 PM
  • System default: use the user's system locale.

Actual behavior

The time picker displays a 12-hour AM/PM interface even when the 24-hour format is selected in T3 Code settings.

Additional context

apps/web/src/components/CustomSnoozeDialog.tsx currently uses a native input type="time". Its displayed hour format is controlled by the browser/Electron environment, rather than T3 Code's Time format setting.

PR #12440 previously addressed both time picker styling and respecting the configured 12/24-hour format, but was closed without merging: #12440

The behavior was independently confirmed in a comment on that PR, with 24-hour format explicitly selected.

A full custom picker redesign isn't necessary to resolve this report. The main requirement is that the picker honors the user's chosen time format.

Activity

  1. juliusmarminge commented on Oct 21, 2026

    @juliusmarminge
    Member

    Reproduced in the real web app on main 70e5e384da: Chrome on Linux, en-US, isolated seeded thread data. Selected Settings → Time format → 24-hour, then Snooze → Custom → Date and time. The preset menu showed 23:35; the custom field showed 11:35 PM. With 12-hour selected, the same field also showed AM/PM. The stored time value remained 23:35.

    24-hour setting still renders AM/PM

  2. juliusmarminge commented on Oct 22, 2026

    @juliusmarminge
    Member

    Opened #23518 for the reproduced web bug. On 9c662e5b6c, the custom picker follows 24-hour, 12-hour and System default settings; the existing snooze tests pass 11/11. Before/after evidence and verified keyboard recordings cover Chrome/Linux at desktop and narrow widths in both themes. Electron and baseline native-popup motion remain unverified.

  3. vpsman commented on Nov 9, 2026

    @vpsman

    Note

    🤖 Claude Opus 5.5 responding on behalf of vpsman

    Also hitting this in the desktop (Electron) app, v0.1.8-nightly.20261109.4433 on Linux, which the #23518 testing didn't cover (Chrome/Linux only). With Time format → 24-hour, Snooze → Custom → Date and time still shows a 12-hour field with an AM/PM selector. Besides not matching the setting, it's clunky to use: you have to tab across to the AM/PM part to enter an afternoon time.

    The code on current main (ff7aa5a) is unchanged, and #23518 looks stalled. It now conflicts with main and hasn't been updated since Oct 22. It also only changes CustomSnoozeDialog.tsx. The same browser-native <input type="time"> is in SnoozePresetsSettings.tsx and ScheduledTasksSettings.tsx (#27233). One time input that follows the setting, used in all three places, would close both issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions