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
@@ -126,15 +126,15 @@ The following specifiers can be used in the custom formats.
126
126
127
127
The `"G"` specifier renders the era name. Use one to three letters for the abbreviated name, four letters for (wide) name, and five for the narrow name.
128
128
129
-
import { formatDate } from '@telerik/kendo-intl/dates';
129
+
import { formatDate } from '@telerik/kendo-intl';
130
130
131
131
formatDate(new Date(2000, 0, 1), "y G"); // 2000 AD
132
132
133
133
**The `"y"` specifier**
134
134
135
135
The `"y"` specifier renders the year. Use one letter to render the full year, two letters to render a two-digit year, and three or four letters to render a zero-padded year, if necessary.
136
136
137
-
import { formatDate } from '@telerik/kendo-intl/dates';
137
+
import { formatDate } from '@telerik/kendo-intl';
138
138
139
139
formatDate(new Date(2000, 0, 1), "y"); // 2000
140
140
@@ -146,7 +146,7 @@ The `"y"` specifier renders the year. Use one letter to render the full year, tw
146
146
147
147
The `"Q"` specifier renders a quarter of the year. Use one or two letters for the numerical quarter, three for the abbreviation, four for the wide name, and five for the narrow name.
148
148
149
-
import { formatDate } from '@telerik/kendo-intl/dates';
149
+
import { formatDate } from '@telerik/kendo-intl';
150
150
151
151
formatDate(new Date(2000, 0, 1), "Q"); // 1
152
152
@@ -164,7 +164,7 @@ It is the same as the `"Q"` specifier, but uses the standalone names.
164
164
165
165
The `"M"` specifier renders the month. Use one or two letters for the numerical month, three for the abbreviation, four for the wide name, and five for the narrow name. With two letters, the month number is rendered as zero-padded.
166
166
167
-
import { formatDate } from '@telerik/kendo-intl/dates';
167
+
import { formatDate } from '@telerik/kendo-intl';
168
168
169
169
formatDate(new Date(2000, 0, 1), "M"); // 1
170
170
@@ -184,7 +184,7 @@ It is the same as the `"M"` specifier, but uses the standalone names.
184
184
185
185
The `"d"` specifier renders the day of the month. Use `"d"` to show the minimum number of digits, or `"dd"` to always show two digits (zero-padding, if necessary—for example, "08").
186
186
187
-
import { formatDate } from '@telerik/kendo-intl/dates';
187
+
import { formatDate } from '@telerik/kendo-intl';
188
188
189
189
formatDate(new Date(2000, 0, 1), "y d"); // 2000 1
190
190
@@ -194,7 +194,7 @@ The `"d"` specifier renders the day of the month. Use `"d"` to show the minimum
194
194
195
195
The `"E"` specifier renders the day of the week. Use one through three letters for the abbreviated day name, four for the wide name, five for the narrow name, and six for the short name.
196
196
197
-
import { formatDate } from '@telerik/kendo-intl/dates';
197
+
import { formatDate } from '@telerik/kendo-intl';
198
198
199
199
formatDate(new Date(2000, 0, 1), "E"); // Sat
200
200
@@ -208,7 +208,7 @@ The `"E"` specifier renders the day of the week. Use one through three letters f
208
208
209
209
It is the same as the `"E"` specifier except for its adding a numeric value that depends on the local starting day of the week, using one or two letters. The format requires the loading of the supplemental `weekData`.
210
210
211
-
import { formatDate } from '@telerik/kendo-intl/dates';
211
+
import { formatDate } from '@telerik/kendo-intl';
212
212
213
213
formatDate(new Date(2000, 0, 1), "e"); // 7
214
214
@@ -220,7 +220,7 @@ It is the same as the `"e"` specifier,but uses the standalone names.
220
220
221
221
The `"a"` specifier renders the day period. Use one through three letters for the short name, four for the wide name, and five for the narrow name.
222
222
223
-
import { formatDate } from '@telerik/kendo-intl/dates';
223
+
import { formatDate } from '@telerik/kendo-intl';
224
224
225
225
formatDate(new Date(2000, 0, 1), "a"); // AM
226
226
@@ -232,7 +232,7 @@ The `"a"` specifier renders the day period. Use one through three letters for th
232
232
233
233
The `"h"` specifier renders the hour using a 12-hour clock from 1 to 12. Use `"h"` to show the minimum number of digits, or `"hh"` to always show two digits.
234
234
235
-
import { formatDate } from '@telerik/kendo-intl/dates';
@@ -242,7 +242,7 @@ The `"h"` specifier renders the hour using a 12-hour clock from 1 to 12. Use `"h
242
242
243
243
The `"H"` specifier renders the hour using a 24-hour clock from 1 to 23. Use `"H"` to show the minimum number of digits, or `"HH"` to always show two digits.
244
244
245
-
import { formatDate } from '@telerik/kendo-intl/dates';
@@ -284,7 +284,7 @@ The `"S"` specifier renders the fractional seconds. It truncates based on the nu
284
284
285
285
The `"z"` specifier renders the timezone. Use one through three letters for the short localized GMT format, and four for the long localized GMT format.
286
286
287
-
import { formatDate } from '@telerik/kendo-intl/dates';
287
+
import { formatDate } from '@telerik/kendo-intl';
288
288
289
289
formatDate(new Date(2000, 0, 1), "z"); // GMT+2
290
290
@@ -294,7 +294,7 @@ The `"z"` specifier renders the timezone. Use one through three letters for the
294
294
295
295
The `"Z"` specifier renders the timezone. Use one through three letters to show the ISO8601 basic format with hours and minutes, four for the long localized GMT format, and five for the ISO8601 extended format.
296
296
297
-
import { formatDate } from '@telerik/kendo-intl/dates';
297
+
import { formatDate } from '@telerik/kendo-intl';
298
298
299
299
formatDate(new Date(2000, 0, 1), "Z"); // +0200
300
300
@@ -306,7 +306,7 @@ The `"Z"` specifier renders the timezone. Use one through three letters to show
306
306
307
307
The `"X"` specifier renders the timezone. Use one letter for the ISO8601 basic format with hours and optional minutes, two and four letters for the ISO8601 basic format with hours and minutes, and three and five letters for the ISO8601 extended format. The ISO8601 UTC indicator `Z` is used when the local time offset is 0 (zero).
308
308
309
-
import { formatDate } from '@telerik/kendo-intl/dates';
309
+
import { formatDate } from '@telerik/kendo-intl';
310
310
311
311
formatDate(new Date(2000, 0, 1), "X"); // +02
312
312
@@ -328,7 +328,7 @@ The standard formats are used by passing an object. The following types of optio
328
328
329
329
These are used to set the format from the calendar [`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.
330
330
331
-
import { formatDate } from '@telerik/kendo-intl/dates';
@@ -340,15 +340,15 @@ These are used to set the format from the calendar [`dateFormats`](http://www.un
340
340
341
341
These are used to set the format from the calendar [`availableFormats`](http://www.unicode.org/reports/tr35/tr35-dates.html#availableFormats_appendItems) based on the date fields that need to be displayed.
342
342
343
-
import { formatDate } from '@telerik/kendo-intl/dates';
These are similar to the skeleton formats but the required fields are set using separate options in the same way as the [`Intl.DateTimeFormat`](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat) object.
350
350
351
-
import { formatDate } from '@telerik/kendo-intl/dates';
0 commit comments