From ead94a64df19c0ae2dcdf6d46b41d8ed3de7a216 Mon Sep 17 00:00:00 2001 From: Terts Diepraam Date: Mon, 29 Jan 2024 11:47:36 +0100 Subject: [PATCH] Link to `datetime` from `datetime.display` docs (#3270) --- crates/typst/src/foundations/datetime.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/typst/src/foundations/datetime.rs b/crates/typst/src/foundations/datetime.rs index 28a0d177..faef8f7f 100644 --- a/crates/typst/src/foundations/datetime.rs +++ b/crates/typst/src/foundations/datetime.rs @@ -317,6 +317,8 @@ impl Datetime { /// `[[year]-[month]-[day]]`. If you specified a time, it will be /// `[[hour]:[minute]:[second]]`. In the case of a datetime, it will be /// `[[year]-[month]-[day] [hour]:[minute]:[second]]`. + /// + /// See the [format syntax]($datetime/#format) for more information. #[func] pub fn display( &self,