@formatjs/intl-datetimeformat 6.18.0 → 6.18.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/package.json +5 -5
- package/polyfill.iife.js +8 -2
package/package.json
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@formatjs/intl-datetimeformat",
|
|
3
3
|
"description": "Intl.DateTimeFormat polyfill",
|
|
4
|
-
"version": "6.18.
|
|
4
|
+
"version": "6.18.2",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Long Ho <holevietlong@gmail.com>",
|
|
7
7
|
"types": "index.d.ts",
|
|
8
8
|
"dependencies": {
|
|
9
9
|
"decimal.js": "^10.4.3",
|
|
10
10
|
"tslib": "^2.8.0",
|
|
11
|
-
"@formatjs/ecma402-abstract": "2.3.
|
|
12
|
-
"@formatjs/intl-localematcher": "0.6.
|
|
11
|
+
"@formatjs/ecma402-abstract": "2.3.6",
|
|
12
|
+
"@formatjs/intl-localematcher": "0.6.2"
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
|
-
"@formatjs/intl-locale": "4.2.
|
|
16
|
-
"@formatjs/intl-getcanonicallocales": "2.5.
|
|
15
|
+
"@formatjs/intl-locale": "4.2.13",
|
|
16
|
+
"@formatjs/intl-getcanonicallocales": "2.5.6"
|
|
17
17
|
},
|
|
18
18
|
"bugs": "https://github.com/formatjs/formatjs/issues",
|
|
19
19
|
"homepage": "https://github.com/formatjs/formatjs#readme",
|
package/polyfill.iife.js
CHANGED
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
return ianaTimeZone;
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
// node_modules/.aspect_rules_js/decimal.js@10.
|
|
55
|
+
// node_modules/.aspect_rules_js/decimal.js@10.6.0/node_modules/decimal.js/decimal.mjs
|
|
56
56
|
var EXP_LIMIT = 9e15;
|
|
57
57
|
var MAX_DIGITS = 1e9;
|
|
58
58
|
var NUMERALS = "0123456789abcdef";
|
|
@@ -2678,6 +2678,12 @@
|
|
|
2678
2678
|
return mod2(Day(t) + 4, 7);
|
|
2679
2679
|
}
|
|
2680
2680
|
function DayFromYear(y) {
|
|
2681
|
+
if (y < 100) {
|
|
2682
|
+
var date = /* @__PURE__ */ new Date(0);
|
|
2683
|
+
date.setUTCFullYear(y, 0, 1);
|
|
2684
|
+
date.setUTCHours(0, 0, 0, 0);
|
|
2685
|
+
return date.getTime() / MS_PER_DAY;
|
|
2686
|
+
}
|
|
2681
2687
|
return Date.UTC(y, 0) / MS_PER_DAY;
|
|
2682
2688
|
}
|
|
2683
2689
|
function YearFromTime(t) {
|
|
@@ -9355,7 +9361,7 @@
|
|
|
9355
9361
|
|
|
9356
9362
|
decimal.js/decimal.mjs:
|
|
9357
9363
|
(*!
|
|
9358
|
-
* decimal.js v10.
|
|
9364
|
+
* decimal.js v10.6.0
|
|
9359
9365
|
* An arbitrary-precision Decimal type for JavaScript.
|
|
9360
9366
|
* https://github.com/MikeMcl/decimal.js
|
|
9361
9367
|
* Copyright (c) 2025 Michael Mclaughlin <M8ch88l@gmail.com>
|