ErrorsConfiguration · rule
type.temporal_clock_invalid
Clock time is not written HH:MM.
Area 10, Configuration; not declinable; the next step is usually the agent's.
type ShopDay = CalendarDate {}type Opening = ZonedTime {}function opening(day: ShopDay) -> Opening { return Opening(temporal.resolve(day, at: "9:30", zone: Zone.utc, dst: Dst.later))}
error "9:30" isn't a clock time
--> main.jadpo:6:46
|6 | return Opening(temporal.resolve(day, at: "9:30", zone: Zone.utc, dst: Dst.later)) | ^^^^^^ not `HH:MM`
- reason
temporal.resolve'sat:is a clock time writtenHH:MM, orHH:MM:SSwith seconds, each part two digits, from00:00to23:59.- next
- Write the time with two-digit hours and minutes, such as
"09:30"(agent) - rule
- type.
temporal_ clock_ invalid - help
- https://jadpo.
dev/docs/errors/type. temporal_ clock_ invalid
Markdown for agents: /docs/errors/type.temporal_clock_invalid.md.Built from Jadpo main at aee2e8f.