mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-02 20:32:49 +00:00
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:
parent
06fc25f266
commit
668fe2653c
@ -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. |
|
||||
|
Loading…
Reference in New Issue
Block a user