Page Settings: datetime field from disk fails validation until re-entered #133
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Cloonar/deckle#133
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Found while verifying #130 with a real browser against
harness serve(not caused by #130 — the datetime field predates it).Repro:
date = 2026-07-10T09:00:00Zin front matter (TOML, as the scaffold writes it).harness serve, open the item's Page Settings in the editor.07/10/2026, 11:00:00 AMin a UTC+2 browser).2026-07-10T11:00) → save succeeds and writesdate = "2026-07-10T11:00:00+02:00".So a page whose date came from disk (hand-authored, or authored in another timezone?) cannot be saved from Page Settings until the author re-enters the date. Suspect the round-trip into the
datetime-localinput (seconds component and/or timezone conversion) produces a value the client-side datetime validation rejects.Observed on branch afk/130 (engine state = main + #128/#129).