Skip to content

Commit 6ae469d

Browse files
authored
docs: shorten imports
1 parent 24fb771 commit 6ae469d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ For more examples and available configuration options, refer to the article on [
4242

4343
Date parsing converts a string to a `Date` object using the locale specific settings.
4444

45-
import { parseDate } from '@telerik/kendo-intl/dates';
45+
import { parseDate } from '@telerik/kendo-intl';
4646

4747
parseDate("11/6/2000", ["G", "d"]); // Mon Nov 06 2000
4848

@@ -56,7 +56,7 @@ For more examples and available configuration options, refer to the article on [
5656

5757
Date parsing converts a `Date` object to a human-readable string using the locale specific settings.
5858

59-
import { formatDate } from '@telerik/kendo-intl/dates';
59+
import { formatDate } from '@telerik/kendo-intl';
6060

6161
formatDate(new Date(2000, 10, 6), "d"); // 11/6/2000
6262

@@ -70,7 +70,7 @@ For more examples and available configuration options, refer to the article on [
7070

7171
Number parsing converts a string to a `Number` object using the specific settings of the locale.
7272

73-
import { parseNumber } from '@telerik/kendo-intl/numbers';
73+
import { parseNumber } from '@telerik/kendo-intl';
7474

7575
parseNumber("12.22"); // 12.22
7676

@@ -86,7 +86,7 @@ For more examples and available configuration options, refer to the article on [
8686

8787
Number formatting converts a `Number` object to a human-readable string using the locale specific settings.
8888

89-
import { formatNumber } from '@telerik/kendo-intl/numbers';
89+
import { formatNumber } from '@telerik/kendo-intl';
9090

9191
formatNumber(1234.567, "n2"); // 1,234.57
9292

@@ -116,9 +116,9 @@ Once installed, import the module.
116116

117117
```javascript
118118
// ES2015 module syntax
119-
import { formatDate, parseDate } from '@telerik/kendo-intl/dates';
119+
import { formatDate, parseDate } from '@telerik/kendo-intl';
120120
//or
121-
import { formatNumber, parseNumber } from '@telerik/kendo-intl/number';
121+
import { formatNumber, parseNumber } from '@telerik/kendo-intl';
122122
```
123123
```javascript
124124
// CommonJS format

0 commit comments

Comments
 (0)