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 <dev@drbeat.li>
This commit is contained in:
Beat Bolli 2024-01-21 15:31:15 +01:00 committed by GitHub
parent 06fc25f266
commit 668fe2653c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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