You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: Scheduled task "Run at" time picker ignores the Time format setting (always 12-hour) #27233
I included enough detail to reproduce or investigate the problem.
Area
apps/web
Steps to reproduce
In Settings → Time format, select 24-hour.
Open Settings → Scheduled tasks, create or edit a task, and choose a fixed schedule.
Look at the Run at field.
Expected behavior
Run at follows the configured Time format, for example 00:00 when 24-hour is selected.
Actual behavior
Run at shows a 12-hour AM/PM field (12:00 AM) even when 24-hour is selected.
Impact
Minor bug or occasional failure
Additional context
The Run at field in apps/web/src/components/settings/ScheduledTasksSettings.tsx (~L1708) is a native <Input type="time" nativeInput>. Chromium/Electron chooses its hour cycle from the browser locale, so the app's timestampFormat setting has no effect on it.
Two other places use a native type="time" input in the same way:
One fix could cover all three: a shared time input that takes its 12/24-hour choice from resolveHour12(timestampFormat) in apps/web/src/timestampFormat.ts. The usage charts already get their hour format from that function.
Activity