@samline/date 2.2.0 → 2.2.1
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/README.md +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Small date formatting package built on top of Day.js with strict parsing, locale-aware formatting, and a shared API for core, vanilla, React, Vue, Svelte, and browser usage.
|
|
4
4
|
|
|
5
|
-
This package uses Day.js as its date engine.
|
|
5
|
+
This package uses Day.js as its date engine.
|
|
6
6
|
|
|
7
7
|
Day.js repository: https://github.com/iamkun/dayjs
|
|
8
8
|
|
|
@@ -55,7 +55,7 @@ Use the browser bundle when your project loads scripts directly in the page and
|
|
|
55
55
|
This is useful in environments such as Shopify themes, WordPress templates, or plain HTML pages with no build step.
|
|
56
56
|
|
|
57
57
|
```html
|
|
58
|
-
<script src="https://cdn.jsdelivr.net/npm/@samline/date@2.2.
|
|
58
|
+
<script src="https://cdn.jsdelivr.net/npm/@samline/date@2.2.1/dist/browser/date.global.js"></script>
|
|
59
59
|
```
|
|
60
60
|
|
|
61
61
|
Then use it from a normal script:
|