According to Jekyll's frontmatter documentation, a date
variable can be used to specify a date and time of when the post was published. Which date format is Jekyll expecting here? Some examples I've seen show, e.g:
date: 2010-09-15 14:40:45
but is it possible to also include time zone information? How is Jekyll going to parse this string?
When building paths Jekyll will only parse the date portion and ignore the time part.
In a template calling page.date
will return the date/time of the post or the full date / time from the front matter if included.
You can include a UTC offset in the date YYYY-MM-DD HH:MM:SS +/-TTTT
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With