distill
distill copied to clipboard
Date in index page on first build wrong
When trying (unsuccessfully) to reproduce the error in #58, I noticed an odd issue with the date in the index page - the first time the the page was knitted, the date in index.html was out by a day. Possibly this could be due to my timezone (+1300)?
- I created a new radix blog with a post dated Nov 1. The index page listed it as Oct 31.
- I created a new post dated Nov 4. The index page listed it as Nov 3, but updated the first to Nov 1. (GitHub diff)
- I created a new post dated Nov 3. The index page listed it as Nov 2, but updated the second to Nov 4. (GitHub diff)
- I knitted the third post again, and the index updated it as Nov 3. (GitHub diff)
I'm noticing this issue with distill_article(), as well. Using this metadata:
---
title: "Untitled"
description: |
A new article created using the Distill format.
author:
- name: Nora Jones
url: https://example.com/norajones
affiliation: Spacely Sprockets
affiliation_url: https://example.com/spacelysprokets
date: "April 14, 2021"
output: distill::distill_article
---
I get this output:
The result is the same using Sys.Date()