Skip to content

Commit

Permalink
doc: fix the chrono %C example value
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
bbolli committed Jan 21, 2024
1 parent 11ba127 commit 263e82d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/syntax.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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. |
Expand Down

0 comments on commit 263e82d

Please sign in to comment.