@@ -33,7 +33,7 @@ Additionally, the library requires you to load:
33
33
* The ` weekData ` for the day of week formatting.
34
34
35
35
``` javascript
36
- import { load } from ' @telerik /kendo-intl' ;
36
+ import { load } from ' @progress /kendo-intl' ;
37
37
38
38
load (
39
39
require (" cldr-data/supplemental/likelySubtags.json" ),
@@ -55,7 +55,7 @@ For more examples and available configuration options, refer to the article on [
55
55
Date parsing converts a string into a ` Date ` object by using the specific settings of the locale.
56
56
57
57
``` js
58
- import { parseDate } from ' @telerik /kendo-intl' ;
58
+ import { parseDate } from ' @progress /kendo-intl' ;
59
59
60
60
parseDate (" 11/6/2000" , [" G" , " d" ]); // Mon Nov 06 2000
61
61
parseDate (" Montag, 6.11.2000" , " EEEE, d.MM.y" , " de" ); // Mon Nov 06 2000
@@ -69,7 +69,7 @@ For more examples and available configuration options, refer to the article on [
69
69
Date formatting converts a ` Date ` object into a human-readable string by using the specific settings of the locale.
70
70
71
71
``` js
72
- import { formatDate } from ' @telerik /kendo-intl' ;
72
+ import { formatDate } from ' @progress /kendo-intl' ;
73
73
74
74
formatDate (new Date (2000 , 10 , 6 ), " d" ); // 11/6/2000
75
75
formatDate (new Date (2000 , 10 , 6 ), " yMd" , " de" ); // 6.11.2000
@@ -83,7 +83,7 @@ For more examples and available configuration options, refer to the article on [
83
83
Number parsing converts a string into a ` Number ` object by using the specific settings of the locale.
84
84
85
85
``` js
86
- import { parseNumber } from ' @telerik /kendo-intl' ;
86
+ import { parseNumber } from ' @progress /kendo-intl' ;
87
87
88
88
parseNumber (" 12.22" ); // 12.22
89
89
parseNumber (" 1.212,22 €" , " de" ); // 1212.22
@@ -98,7 +98,7 @@ For more examples and available configuration options, refer to the article on [
98
98
Number formatting converts a ` Number ` object into a human-readable string using the specific settings of the locale.
99
99
100
100
``` js
101
- import { formatNumber } from ' @telerik /kendo-intl' ;
101
+ import { formatNumber } from ' @progress /kendo-intl' ;
102
102
103
103
formatNumber (1234.567 , " n2" ); // 1,234.57
104
104
@@ -120,7 +120,7 @@ For more examples and available configuration options, refer to the article on [
120
120
General formatting provides methods for independent placeholder and type formatting by using the specific settings of the locale.
121
121
122
122
``` js
123
- import { format , toString } from ' @telerik /kendo-intl' ;
123
+ import { format , toString } from ' @progress /kendo-intl' ;
124
124
125
125
format (' Date: {0:d} - Price: {1:c}' , [new Date (), 10.5 ], " en" ) // Date: 1/5/2017 - Price: $10.50
126
126
@@ -138,20 +138,20 @@ For more examples and available configuration options, refer to the article on [
138
138
2 . Download and install the module:
139
139
140
140
``` bash
141
- npm install --save ' @telerik /kendo-intl' ;
141
+ npm install --save ' @progress /kendo-intl' ;
142
142
```
143
143
144
144
3. Once installed, import the Internationalization in your application root module:
145
145
146
146
` ` ` javascript
147
147
// ES2015 module syntax
148
- import { formatDate, parseDate } from ' @telerik /kendo-intl' ;
148
+ import { formatDate, parseDate } from ' @progress /kendo-intl' ;
149
149
//or
150
- import { formatNumber, parseNumber } from ' @telerik /kendo-intl' ;
150
+ import { formatNumber, parseNumber } from ' @progress /kendo-intl' ;
151
151
` ` `
152
152
` ` ` javascript
153
153
// CommonJS format
154
- var numbers = require(' @telerik /kendo-intl/number' ).numbers;
154
+ var numbers = require(' @progress /kendo-intl/number' ).numbers;
155
155
//or
156
- var dates = require(' @telerik /kendo-intl/dates' ).dates;
156
+ var dates = require(' @progress /kendo-intl/dates' ).dates;
157
157
` ` `
0 commit comments