shape/tag/a timestamp tag over text that is not a date

sha256 1e11dbf391ce162912176aebe779dd5eb79e3ab7e897d26576674b9b44ad4488

Document

k: !!timestamp not-a-date

Corpus

grammarvalid, vouched for up to construct
tag/secondaryaccept from compose on, 6.8.2.2: the secondary handle is declared by default as tag:yaml.org,2002:
tag/timestamp-not-a-dateopen from construct on: each parser's stance decides
featuresnone
meaning (none stated)

Answer groups

verdict split

go-yaml yaml.v3 yamlstar

refuse by the loader

libfyaml perlref

accept

value

libfyaml

{"k":"not-a-date"}

roundtrip

No source answered.

Each parser

parserverdictvalueround tripreasonmessage
perlref accepted accept n/i n/i
libfyaml accepted accept not scored n/i
yamlstar rejected, explained refuse by the loader not scored n/i tag-without-constructor: the loader builds values for the core schema's tags only, and rejects any other tag, local or global: "!foo", "!!merge", "!!timestamp", "!!binary" Error: Unknown tag: tag:yaml.org,2002:timestamp
yaml.v3 rejected, as declared refuse by the loader not scored refused tag/timestamp-not-a-date: yaml.v3 refuses this on purpose yaml.v3: yaml: cannot decode !!str `not-a-date` as a !!timestamp
go-yaml rejected, as declared refuse by the loader not scored refused tag/timestamp-not-a-date: go-yaml refuses this on purpose [1:16] cannot read "not-a-date" as !!timestamp

Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.