wix-design-systems-locale-utils
Advanced tools
Comparing version 1.16.0 to 1.17.0
{ | ||
"name": "wix-design-systems-locale-utils", | ||
"version": "1.16.0", | ||
"version": "1.17.0", | ||
"main": "dist/cjs/index.js", | ||
@@ -5,0 +5,0 @@ "module": "dist/esm/index.js", |
@@ -14,3 +14,3 @@ # wix-design-systems-locale-utils | ||
```javascript | ||
import { dateTimeFormat } from 'wix-design-systems-locale-utils/dateTimeFormat'; | ||
import { dateTimeFormat } from 'wix-design-systems-locale-utils'; | ||
@@ -25,3 +25,3 @@ const date = dateTimeFormat.getShortDate('lt', new Date('2021/08/13')); //"2021-08-13" | ||
```javascript | ||
import { dateTimeFormat } from 'wix-design-systems-locale-utils/dateTimeFormat'; | ||
import { dateTimeFormat } from 'wix-design-systems-locale-utils'; | ||
@@ -36,3 +36,3 @@ const date = dateTimeFormat.getMediumDate('tr', new Date('2021/08/13')); //"21 Tem 2021" | ||
```javascript | ||
import { dateTimeFormat } from 'wix-design-systems-locale-utils/dateTimeFormat'; | ||
import { dateTimeFormat } from 'wix-design-systems-locale-utils'; | ||
@@ -47,5 +47,5 @@ const time = dateTimeFormat.getShortTime('lt', new Date('2021/08/12 16:45')); //"16:45" | ||
```javascript | ||
import { dateTimeFormat } from 'wix-design-systems-locale-utils/dateTimeFormat'; | ||
import { dateTimeFormat } from 'wix-design-systems-locale-utils'; | ||
const time = dateTimeFormat.getLongTime('tr', new Date('2021/08/12 16:45')); //"ÖS 4:45 GMT+3" | ||
``` |
95075