Skip to content

Commit 6bf1f0b

Browse files
soenkehahnjhpratt
authored andcommitted
fix documentation for %C
1 parent cdd615d commit 6bf1f0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
//! | `%b` | Abbreviated month name | `Aug` |
6464
//! | `%B` | Full month name | `August` |
6565
//! | `%c` | Date and time representation, equivalent to `%a %b %-d %-H:%M:%S %-Y` | `Thu Aug 23 14:55:02 2001` |
66-
//! | `%C` | Year divided by 100 and truncated to integer (`00`-`99`) | `20` |
66+
//! | `%C` | Year divided by 100 and truncated to integer (`00`-`999`) | `20` |
6767
//! | `%d` | Day of the month, zero-padded (`01`-`31`) | `23` |
6868
//! | `%D` | Short MM/DD/YY date, equivalent to `%-m/%d/%y` | `8/23/01` |
6969
//! | `%F` | Short YYYY-MM-DD date, equivalent to `%-Y-%m-%d` | `2001-08-23` |

0 commit comments

Comments
 (0)