drawingml: the format doc link names the function

This commit is contained in:
aiongg committed 2026-11-20 21:43:12 +00:00
1 parent 5d72faf4b2
commit 4e11e2b9d4
1 file changed
+1 -1
+1 -1
View File
@@ -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 };