From 668fe2653c2172aa1daffc473eadcddefe187719 Mon Sep 17 00:00:00 2001 From: Beat Bolli Date: Sun, 21 Jan 2024 15:31:15 +0100 Subject: [PATCH] doc: fix the chrono %C example value (#3822) Assuming that the example date is always "Sat Nov 12 22:04:00 1955", the result of the `%C` format string should be "19", not "55". Signed-off-by: Beat Bolli --- doc/syntax.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/syntax.rst b/doc/syntax.rst index faea17b5..1274727d 100644 --- a/doc/syntax.rst +++ b/doc/syntax.rst @@ -354,7 +354,7 @@ The available presentation types (*chrono_type*) are: | | The modified command ``%Ec`` produces the locale's alternate date | | | and time representation. | +---------+--------------------------------------------------------------------+ -| ``'C'`` | The year divided by 100 using floored division, e.g. "55". If the | +| ``'C'`` | The year divided by 100 using floored division, e.g. "19". If the | | | result is a single decimal digit, it is prefixed with 0. | | | The modified command ``%EC`` produces the locale's alternative | | | representation of the century. |