The 12-first ordering came from how minutes-to-12-hour conversion treats midnight (h24 % 12 === 0 → display as 12), but that's a value mapping, not a list ordering. Listing 1-12 is the obvious natural order users expect from a clock dropdown. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -406,7 +406,7 @@ function onAddPhoto(deviceId: number) {
|
||||
|
||||
// ── Settings sheet ────────────────────────────────────────────────────────────
|
||||
|
||||
const HOUR_OPTIONS = [12, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11]
|
||||
const HOUR_OPTIONS = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]
|
||||
const MINUTE_OPTIONS = [0, 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55]
|
||||
|
||||
type FrequencyMode = 'times' | 'interval'
|
||||
|
||||
Reference in New Issue
Block a user