From 4e11e2b9d434664cb20dd67011f524b4092e5330 Mon Sep 17 00:00:00 2001 From: aiongg Date: Fri, 20 Nov 2026 21:43:12 +0000 Subject: [PATCH] drawingml: the format doc link names the function --- crates/drawingml/src/numfmt.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/drawingml/src/numfmt.rs b/crates/drawingml/src/numfmt.rs index bbc89aad8..64caf25e9 100644 --- a/crates/drawingml/src/numfmt.rs +++ b/crates/drawingml/src/numfmt.rs @@ -355,7 +355,7 @@ pub fn format(code: &str, v: f64, lang: Option<&str>) -> String { format_dated(code, v, lang, false) } -/// [`format`] with the workbook's date system: `date_1904` counts serial dates from 1 January +/// [`format()`] with the workbook's date system: `date_1904` counts serial dates from 1 January /// 1904 (`c:date1904`) instead of 1900. pub fn format_dated(code: &str, v: f64, lang: Option<&str>, date_1904: bool) -> String { let code = if code.len() > MAX_CODE_LEN * 4 || code.chars().count() > MAX_CODE_LEN { "General" } else { code };