@thi.ng/date 2.3.18 → 2.3.19
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/CHANGELOG.md +1 -1
- package/package.json +4 -4
- package/relative.d.ts +1 -1
- package/relative.js +1 -1
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/date",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.19",
|
|
4
4
|
"description": "Datetime types, relative dates, math, iterators, composable formatters, locales",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -34,9 +34,9 @@
|
|
|
34
34
|
"test": "testament test"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@thi.ng/api": "^8.6.
|
|
37
|
+
"@thi.ng/api": "^8.6.1",
|
|
38
38
|
"@thi.ng/checks": "^3.3.5",
|
|
39
|
-
"@thi.ng/strings": "^3.3.
|
|
39
|
+
"@thi.ng/strings": "^3.3.21"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"@microsoft/api-extractor": "^7.33.7",
|
|
@@ -129,5 +129,5 @@
|
|
|
129
129
|
"thi.ng": {
|
|
130
130
|
"year": 2020
|
|
131
131
|
},
|
|
132
|
-
"gitHead": "
|
|
132
|
+
"gitHead": "7b2af448da8a63fb21704a79cc4cdf1f3d7d7a64\n"
|
|
133
133
|
}
|
package/relative.d.ts
CHANGED
|
@@ -60,7 +60,7 @@ export declare const difference: (a: MaybeDate, b: MaybeDate) => number;
|
|
|
60
60
|
* Computes and decomposes difference between given dates. Returns tuple of:
|
|
61
61
|
* `[sign, years, months, days, hours, mins, secs, millis]`. The `sign` is used
|
|
62
62
|
* to indicate the relative order of `a` compared to `b`, i.e. same contract as
|
|
63
|
-
*
|
|
63
|
+
* [`ICompare`](https://docs.thi.ng/umbrella/api/interfaces/ICompare.html).
|
|
64
64
|
*
|
|
65
65
|
* @param a -
|
|
66
66
|
* @param b -
|
package/relative.js
CHANGED
|
@@ -118,7 +118,7 @@ export const difference = (a, b) => ensureEpoch(a) - ensureEpoch(b);
|
|
|
118
118
|
* Computes and decomposes difference between given dates. Returns tuple of:
|
|
119
119
|
* `[sign, years, months, days, hours, mins, secs, millis]`. The `sign` is used
|
|
120
120
|
* to indicate the relative order of `a` compared to `b`, i.e. same contract as
|
|
121
|
-
*
|
|
121
|
+
* [`ICompare`](https://docs.thi.ng/umbrella/api/interfaces/ICompare.html).
|
|
122
122
|
*
|
|
123
123
|
* @param a -
|
|
124
124
|
* @param b -
|