@creowis/intl-date-utils 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGE_LOG.md +6 -0
- package/README.md +4 -4
- package/package.json +1 -1
package/CHANGE_LOG.md
CHANGED
package/README.md
CHANGED
|
@@ -20,26 +20,26 @@ Features:
|
|
|
20
20
|
Using NPM
|
|
21
21
|
|
|
22
22
|
```bash
|
|
23
|
-
npm install intl-date-utils
|
|
23
|
+
npm install @creowis/intl-date-utils
|
|
24
24
|
```
|
|
25
25
|
|
|
26
26
|
Using Yarn
|
|
27
27
|
|
|
28
28
|
```bash
|
|
29
|
-
yarn add intl-date-utils
|
|
29
|
+
yarn add @creowis/intl-date-utils
|
|
30
30
|
```
|
|
31
31
|
|
|
32
32
|
Using Pnpm
|
|
33
33
|
|
|
34
34
|
```bash
|
|
35
|
-
pnpm install intl-date-utils
|
|
35
|
+
pnpm install @creowis/intl-date-utils
|
|
36
36
|
```
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
## Usage
|
|
40
40
|
|
|
41
41
|
```js
|
|
42
|
-
import { formatDate, timeAgo } from 'intl-date-utils'
|
|
42
|
+
import { formatDate, timeAgo } from '@creowis/intl-date-utils'
|
|
43
43
|
|
|
44
44
|
formatDate(new Date())
|
|
45
45
|
timeAgo(new Date(Date.now() - 86400000))
|