Remove outdated docs about toml() not supporting datetimes (#1874)

This commit is contained in:
Gokul Soumya 2023-08-07 17:08:21 +05:30 committed by GitHub
parent 357bce56f5
commit 63935b9513
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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`.