You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/date-formatting/index.md
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -97,14 +97,15 @@ Date formatting converts a `Date` object to a human-readable string using the lo
97
97
The following specifiers can be used in the custom formats.
98
98
99
99
***The `"G"` specifier**—Renders the era name.
100
-
For the abbreviated name, use one to three letters. For the wide name, use four letters. For the narrow name, use five letters.
100
+
For the abbreviated name, use one to three letters. For the wide name, use four letters. For the narrow name, use five letters.
101
101
102
102
import { formatDate } from '@telerik/kendo-intl';
103
103
104
104
formatDate(new Date(2000, 0, 1), "y G"); // 2000 AD
105
105
106
106
***The `"y"` specifier**—Renders the year.
107
-
To render the full year, use one letter. To render a two-digit year, use two letters. To render a zero-padded year, if necessary, use three or four letters.
107
+
108
+
To render the full year, use one letter. To render a two-digit year, use two letters. To render a zero-padded year, if necessary, use three or four letters.
108
109
109
110
import { formatDate } from '@telerik/kendo-intl';
110
111
@@ -115,7 +116,8 @@ The following specifiers can be used in the custom formats.
115
116
formatDate(new Date(111, 0, 1), "yyyy"); // 0111
116
117
117
118
***The `"Q"` specifier**—Renders a quarter of the year.
118
-
For the numerical quarter, use one or two letters. For the abbreviation, use three letters. For the wide name, use four letters. For the narrow name, use five letters.
119
+
120
+
For the numerical quarter, use one or two letters. For the abbreviation, use three letters. For the wide name, use four letters. For the narrow name, use five letters.
0 commit comments