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
***The `u` specifier**—Renders a universal sortable UTC date and time pattern—`"yyyy-MM-dd HH:mm:ssZ"`.
89
+
***The `u` specifier**—Renders a universal sortable UTC date and time pattern: `"yyyy-MM-dd HH:mm:ssZ"`.
90
90
91
91
import { formatDate } from '@telerik/kendo-intl';
92
92
@@ -97,6 +97,7 @@ 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
+
100
101
For the abbreviated name, use one to three letters. For the wide name, use four letters. For the narrow name, use five letters.
101
102
102
103
import { formatDate } from '@telerik/kendo-intl';
@@ -132,7 +133,9 @@ The following specifiers can be used in the custom formats.
132
133
***The `"q"` specifier**—The same as the `"Q"` specifier except that the `"q"` specifier uses the standalone names.
133
134
134
135
***The `"M"` specifier**—Renders the month.
136
+
135
137
For the numerical month, 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.
138
+
136
139
When you use two letters, the month number is rendered as zero-padded.
137
140
138
141
import { formatDate } from '@telerik/kendo-intl';
@@ -150,6 +153,7 @@ The following specifiers can be used in the custom formats.
150
153
***The `"L"` specifier**—The same as the `"M"` specifier except that the `"L"` specifier uses the standalone names.
151
154
152
155
***The `"d"` specifier**—Renders the day of the month.
156
+
153
157
To show the minimum number of digits, use `"d"`. To always show two digits, use `"dd"` (zero-padding, if necessary—for example, "08").
154
158
155
159
import { formatDate } from '@telerik/kendo-intl';
@@ -159,6 +163,7 @@ The following specifiers can be used in the custom formats.
159
163
formatDate(new Date(2000, 0, 1), "y dd"); // 2000 01
160
164
161
165
***The `"E"` specifier**—Renders the day of the week.
166
+
162
167
For the abbreviated day name, use one through three letters. For the wide name, use four letters. For the narrow name, use five letters. For the short name, use six letters.
163
168
164
169
import { formatDate } from '@telerik/kendo-intl';
@@ -180,6 +185,7 @@ The following specifiers can be used in the custom formats.
180
185
***The `"c"` specifier**—The same as the `"e"` specifier except that uses the standalone names.
181
186
182
187
***The `"a"` specifier**—Renders the day period.
188
+
183
189
For the short name, use one through three letters. For the wide name, use four letters. For the narrow name, use five letters.
184
190
185
191
import { formatDate } from '@telerik/kendo-intl';
@@ -191,6 +197,7 @@ The following specifiers can be used in the custom formats.
191
197
formatDate(new Date(2000, 0, 1, 13), "aaaaa"); // p
192
198
193
199
***The `"h"` specifier**—Renders the hour using a 12-hour clock from 1 to 12.
200
+
194
201
To show the minimum number of digits, use `"h"`. To always show two digits, use `"hh"`.
195
202
196
203
import { formatDate } from '@telerik/kendo-intl';
@@ -200,6 +207,7 @@ The following specifiers can be used in the custom formats.
***The `"Z"` specifier**—Renders the timezone.
260
+
249
261
To show the ISO8601 basic format with hours and minutes, use one through three letters. For the long localized GMT format, use four letters. For the ISO8601 extended format, use five letters.
250
262
251
263
import { formatDate } from '@telerik/kendo-intl';
@@ -257,8 +269,10 @@ The following specifiers can be used in the custom formats.
***The `"X"` specifier**—Renders the timezone.
272
+
260
273
For the ISO8601 basic format with hours and optional minutes, use one letter. For the ISO8601 basic format with hours and minutes, use two letters and four letters. For the ISO8601 extended format, use three and five letters.
261
-
The ISO8601 UTC indicator `Z` is used when the local time offset is `0` (zero).
274
+
275
+
When the local time offset is `0` (zero), use the ISO8601 UTC indicator `Z`.
262
276
263
277
import { formatDate } from '@telerik/kendo-intl';
264
278
@@ -270,15 +284,15 @@ The following specifiers can be used in the custom formats.
***The `"x"` specifier**—The same as the `"X"` specifier, but without adding the UTC indicator when the offset is 0 (zero).
287
+
***The `"x"` specifier**—The same as the `"X"` specifier except that the `"x"` specifier does not add the UTC indicator when the offset is `0` (zero).
274
288
275
289
### Standard
276
290
277
291
The standard formats are used when passing an object.
278
292
279
293
The supported types of options are:
280
294
281
-
***Locale predefined formats**—Used to set the format from the [`dateFormats`](http://www.unicode.org/reports/tr35/tr35-dates.html#dateFormats), [`timeFormats`](http://www.unicode.org/reports/tr35/tr35-dates.html#timeFormats), and [`dateTimeFormats`](http://www.unicode.org/reports/tr35/tr35-dates.html#dateTimeFormats) elements of the calendar.
295
+
***Locale predefined formats**—Sets the format from the [`dateFormats`](http://www.unicode.org/reports/tr35/tr35-dates.html#dateFormats), [`timeFormats`](http://www.unicode.org/reports/tr35/tr35-dates.html#timeFormats), and [`dateTimeFormats`](http://www.unicode.org/reports/tr35/tr35-dates.html#dateTimeFormats) elements of the calendar.
282
296
283
297
import { formatDate } from '@telerik/kendo-intl';
284
298
@@ -288,7 +302,7 @@ The supported types of options are:
288
302
289
303
formatDate(new Date(2000, 10, 6, 13), { datetime: "full" }); // Monday, November 6, 2000 at 1:00:00 PM GMT+02:00
290
304
291
-
***Skeleton formats**—Used to set the format from the [`availableFormats`](http://www.unicode.org/reports/tr35/tr35-dates.html#availableFormats_appendItems) of the calendar based on the date fields that you want to display.
305
+
***Skeleton formats**—Sets the format from the [`availableFormats`](http://www.unicode.org/reports/tr35/tr35-dates.html#availableFormats_appendItems) of the calendar based on the date fields that you want to display.
0 commit comments