From 63935b9513718027b2af2619998a49a2234c57a5 Mon Sep 17 00:00:00 2001 From: Gokul Soumya Date: Mon, 7 Aug 2023 17:08:21 +0530 Subject: [PATCH] Remove outdated docs about toml() not supporting datetimes (#1874) --- crates/typst-library/src/compute/data.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/crates/typst-library/src/compute/data.rs b/crates/typst-library/src/compute/data.rs index 48e358468..ceeb48d1f 100644 --- a/crates/typst-library/src/compute/data.rs +++ b/crates/typst-library/src/compute/data.rs @@ -266,10 +266,9 @@ fn format_json_error(error: serde_json::Error) -> EcoString { /// /// The file must contain a valid TOML table. TOML tables will be /// converted into Typst dictionaries, and TOML arrays will be converted into -/// Typst arrays. Strings and booleans will be converted into the Typst +/// Typst arrays. Strings, booleans and datetimes will be converted into the Typst /// equivalents and numbers will be converted to floats or integers depending on -/// whether they are whole numbers. For the time being, datetimes will be -/// converted to strings as Typst does not have a built-in datetime yet. +/// whether they are whole numbers. /// /// The TOML file in the example consists of a table with the keys `title`, /// `version`, and `authors`.