File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/libraries/System.Private.CoreLib/src/System/Globalization Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -69,9 +69,9 @@ Patterns Format Description Example
69
69
70
70
"y" "0" two digit year (year % 100) w/o leading zero 0
71
71
"yy" "00" two digit year (year % 100) with leading zero 00
72
- "yyy" "D3" year 2000
73
- "yyyy" "D4" year 2000
74
- "yyyyy" "D5" year 2000
72
+ "yyy" "D3" year with leading zeroes 2000
73
+ "yyyy" "D4" year with leading zeroes 2000
74
+ "yyyyy" "D5" year with leading zeroes 02000
75
75
...
76
76
77
77
"z" "+0;-0" timezone offset w/o leading zero -8
@@ -618,7 +618,7 @@ private static void FormatCustomized<TChar>(
618
618
// Notes about OS behavior:
619
619
// y: Always print (year % 100). No leading zero.
620
620
// yy: Always print (year % 100) with leading zero.
621
- // yyy/yyyy/yyyyy/... : Print year value. No leading zero .
621
+ // yyy/yyyy/yyyyy/... : Print year value. With leading zeros .
622
622
623
623
int year = cal . GetYear ( dateTime ) ;
624
624
tokenLen = ParseRepeatPattern ( format , i , ch ) ;
You can’t perform that action at this time.
0 commit comments