Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected behavior when using unquoted date as key #48

Closed
paranoiq opened this issue Feb 28, 2020 · 1 comment
Closed

Unexpected behavior when using unquoted date as key #48

paranoiq opened this issue Feb 28, 2020 · 1 comment

Comments

@paranoiq
Copy link

@paranoiq paranoiq commented Feb 28, 2020

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 : ]

@dg dg closed this in 8d184cf Feb 28, 2020
@paranoiq

This comment has been minimized.

Copy link
Author

@paranoiq paranoiq commented Feb 29, 2020

wow! dík! : ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.