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: README.md
+30-29Lines changed: 30 additions & 29 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -42,63 +42,64 @@ For more examples and available configuration options, refer to the article on [
42
42
43
43
Date parsing converts a string to a `Date` object using the locale specific settings.
44
44
45
-
import { parseDate } from '@telerik/kendo-intl';
45
+
```js
46
+
import { parseDate } from'@telerik/kendo-intl';
46
47
47
-
parseDate("11/6/2000", ["G", "d"]); // Mon Nov 06 2000
48
-
49
-
parseDate("Montag, 6.11.2000", "EEEE, d.MM.y", "de"); // Mon Nov 06 2000
50
-
51
-
parseDate("2000-11-06T10:30Z"); // Mon Nov 06 2000 12:30
48
+
parseDate("11/6/2000", ["G", "d"]); // Mon Nov 06 2000
49
+
parseDate("Montag, 6.11.2000", "EEEE, d.MM.y", "de"); // Mon Nov 06 2000
50
+
parseDate("2000-11-06T10:30Z"); // Mon Nov 06 2000 12:30
51
+
```
52
52
53
53
For more examples and available configuration options, refer to the article on [date parsing](https://github.com/telerik/kendo-intl/blob/master/docs/dates/date-parsing.md).
54
54
55
55
### Date Formatting
56
56
57
57
Date parsing converts a `Date` object to a human-readable string using the locale specific settings.
For more examples and available configuration options, refer to the article on [date formatting](https://github.com/telerik/kendo-intl/blob/master/docs/dates/date-formatting.md).
68
68
69
69
### Number Parsing
70
70
71
71
Number parsing converts a string to a `Number` object using the specific settings of the locale.
72
72
73
-
import { parseNumber } from '@telerik/kendo-intl';
73
+
```js
74
+
import { parseNumber } from'@telerik/kendo-intl';
74
75
75
-
parseNumber("12.22"); // 12.22
76
-
77
-
parseNumber("1.212,22 €", "de"); // 1212.22
78
-
79
-
parseNumber("10.22 %"); // 0.1022
80
-
81
-
parseNumber("1,0000123e+4", "bg"); // 10000.123
76
+
parseNumber("12.22"); // 12.22
77
+
parseNumber("1.212,22 €", "de"); // 1212.22
78
+
parseNumber("10.22 %"); // 0.1022
79
+
parseNumber("1,0000123e+4", "bg"); // 10000.123
80
+
```
82
81
83
82
For more examples and available configuration options, refer to the article on [number parsing](https://github.com/telerik/kendo-intl/blob/master/docs/numbers/number-parsing.md).
84
83
85
84
### Number Formatting
86
85
87
86
Number formatting converts a `Number` object to a human-readable string using the locale specific settings.
88
87
89
-
import { formatNumber } from '@telerik/kendo-intl';
For more examples and available configuration options, refer to the article on [number formatting](https://github.com/telerik/kendo-intl/blob/master/docs/numbers/number-formatting.md).
0 commit comments