diff options
| author | Terts Diepraam <terts.diepraam@gmail.com> | 2024-01-29 11:47:36 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-29 10:47:36 +0000 |
| commit | ead94a64df19c0ae2dcdf6d46b41d8ed3de7a216 (patch) | |
| tree | 8c9b0860948f412628727b951a35bb9052f5ca2e | |
| parent | 269860c571fa270ac5a2a25f52f0b24fa52d7ba1 (diff) | |
Link to `datetime` from `datetime.display` docs (#3270)
| -rw-r--r-- | crates/typst/src/foundations/datetime.rs | 2 |
1 files changed, 2 insertions, 0 deletions
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, |
