-
Notifications
You must be signed in to change notification settings - Fork 205
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
Loading a YAML file which contains a date fails #362
Comments
Seems this is not a bug, it's the documented default.
[P.S. for future readers finding this: see also #262 for explanation how some date-like inputs do get parsed, as strings — if they're not valid dates] |
Thanks @cben! |
sunaku
added a commit
to sunaku/readably
that referenced
this issue
Oct 7, 2022
$ bundle exec rake Psych::DisallowedClass: Could not load blog entry file "content/*.readably" Tried to load unspecified class: Time See also ruby/psych#362
sunaku
added a commit
to sunaku/readably
that referenced
this issue
Oct 24, 2023
$ bundle exec rake Psych::DisallowedClass: Could not load blog entry file "content/*.readably" Tried to load unspecified class: Time See also ruby/psych#362
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Simplest way to reproduce:
YAML.safe_load('expiry: 2018-02-08 03:32:36')
results in
The text was updated successfully, but these errors were encountered: