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

Prevent Object must be a Date, DateTime or Time object errors #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

goulvench
Copy link

Jekyll does not convert every date field (in frontmatter at least, as far as I can tell), but I18n expects Date objects.
In case input is a plain string, we can parse it —just like Liquid does (https://github.com/Shopify/liquid/blob/2-6-stable/lib/liquid/standardfilters.rb#L193)

Jekyll does not convert every date field (in frontmatter at least, as far as I can tell), but I18n expects Date objects.
In case `input` is a plain string, we can parse it —just like Liquid does (https://github.com/Shopify/liquid/blob/2-6-stable/lib/liquid/standardfilters.rb#L193)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant