Skip to content

Unexpected behavior when using unquoted date as key #48

@paranoiq

Description

@paranoiq

Version: 3.1.1

it is ok to use keys like 2020-02 without quotes, but 2020-02-02 is a syntax error.

foo:
    2020-02: bar # ok
    2020-02-02: baz # fails

i would expect the behavior to be the same regardless of number of dashes, but maybe the first case working is this some side effect of parsing numbers in sci notation?

anyway, it would be really nice if this works : ]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions