Skip to content

Commit 39be769

Browse files
bbollihappymonkey1
authored andcommitted
doc: fix the chrono %C example value (fmtlib#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>
1 parent fb6293c commit 39be769

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/syntax.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ The available presentation types (*chrono_type*) are:
354354
| | The modified command ``%Ec`` produces the locale's alternate date |
355355
| | and time representation. |
356356
+---------+--------------------------------------------------------------------+
357-
| ``'C'`` | The year divided by 100 using floored division, e.g. "55". If the |
357+
| ``'C'`` | The year divided by 100 using floored division, e.g. "19". If the |
358358
| | result is a single decimal digit, it is prefixed with 0. |
359359
| | The modified command ``%EC`` produces the locale's alternative |
360360
| | representation of the century. |

0 commit comments

Comments
 (0)