Hi All! I'm getting to know Distill, and it's great! Having created (simple) RMarkdown and blogdown websites in the past, I'm very excited for the possibilities here. But –
I'm having an issue with Distill blogs, and not sure if it's a bug or my misunderstanding of a feature. The behavior I'll describe I also see on many other distill blogs, including those linked from https://pkgs.rstudio.com/distill/articles/examples.html.
When I create a new blog post Rmd, knit, and rebuild the site, the date written in the Rmd's YAML is correctly displayed on the listing page. But, the date is incorrectly displayed on the actual blog post: it is dated as the day before the date in the YAML and on the listing page. So on the listing page, when you click on a post, the date displayed will be the wrong date: the (correct) date in the URL does not match the (incorrect) date displayed on that post.
I have an additional reprex of this, when changing the date of a post it will correctly adjust the "slug" but will do the date - 1 for the actual displayed date for the article.
Tom's gif shows this happening locally when he modifies the date after the slug is created, but that wouldn't be a timezone issue. Since that gif isn't displaying here and something is going on, shall I post an issue on https://github.com/rstudio/distill?
yes you can open an issue. I'll try to reproduce locally. But I can't explain why I don't see the same date for an online website while we look at the same page just from different place in the world
I really think this is a timezone issue. The code source of your page contains :
<script id="distill-front-matter" type="text/json">
{"title":"Interview with Dr. Dawn Wright","description":"Interview with Dr. Dawn Wright at MozFest","authors":[{"author":"Julie Lowndes & Erin Robinson","authorURL":"#","affiliation":" ","affiliationURL":"#","orcidID":""}],"publishedDate":"2021-03-08T00:00:00.000+00:00","citationText":"Robinson, 2021"}
</script>
Which is the data process by the JS from distill library. As you see the date contains the timezone part.
So for me translated in CET it not the same day as for you I think. I'll look more closely into that tomorrow. Please open the issue in distill repo so we fix this.