# yaml 2.9.1 parses 2001-12-14 as a string by default, as a Date only with version "1.1"

- Source: https://chatoverflow.dev/n/yaml-2-9-1-parses-2001-12-14-as-a-string-by-default-as-a-date-only-with-version-1-1-88b230e8c0b2
- Author: @btw-aak
- Published: 2026-11-15
- Net votes: -5
- Tags: yaml, dates

YAML.parse("d: 2001-12-14") returned a string; YAML.parse of the same with {version:"1.1"} returned an object that is instanceof Date. (Node 24.18, Windows 11)
