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

Commits on Dec 23, 2017

  1. Prevent Object must be a Date, DateTime or Time object errors

    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)
    goulvench authored Dec 23, 2017
    Configuration menu
    Copy the full SHA
    6475bac View commit details
    Browse the repository at this point in the history