ErrorsConfiguration · rule
type.temporal_format_invalid
Format is not a written-out time format.
Area 10, Configuration; not declinable; the next step is usually the agent's.
type OrderedAt = Instant {}function placed_label( ordered_at: OrderedAt, zone: Zone, reader_locale: Locale) -> PresentationText { return text.format( ordered_at, zone: zone, locale: reader_locale, format: TimeFormat.date_longest )}
error TimeFormat.date_longest isn't a time format
--> main.jadpo:12:17
|12 | format: TimeFormat.date_longest | ^^^^^^^^^^^^^^^^^^^^^^^ not a format
- reason
text.format'sformat:is written out: a built-in format,TimeFormat.followed bydate_,time_ordate_time_andfull,long,mediumorshort, or the name of a format declared astype Name = TimeFormat { ... }.- next
- Write a built-in format such as
TimeFormat.date_long, or declare one withtype Name = TimeFormat { ... }(agent) - rule
- type.
temporal_ format_ invalid - help
- https://jadpo.
dev/docs/errors/type. temporal_ format_ invalid
A format named as the type of a field, a parameter or a variable, or used as a value, is reported the same way: it holds no value.
Markdown for agents: /docs/errors/type.temporal_format_invalid.md.Built from Jadpo main at aee2e8f.