Skip to content
Discussion options

You must be logged in to vote

Sorry, but why do you want to set 1900-01-01 if you only want the year?
Change the format.

---
title: "Quarto Playground"
format: html
date: "2024"
date-format: "YYYY"
---

This is a playground for Quarto.

Dates are handled by Date.js. Date ranges are not dates, but you can still do them:

---
title: "Quarto Playground"
format: html
date: "2024"
date-format: "[2010-]YYYY"
---

This is a playground for Quarto.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@TheHanziChauvanist
Comment options

@mcanouil
Comment options

Answer selected by TheHanziChauvanist
@TheHanziChauvanist
Comment options

@TheHanziChauvanist
Comment options

@mcanouil
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants