cnhis-design-vue 3.1.24-beta.4 → 3.1.24-beta.5
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.
|
@@ -58,8 +58,8 @@ function parseAge2Birthday(age, ageUnit, formatter = "yyyy-MM-dd") {
|
|
|
58
58
|
var _a;
|
|
59
59
|
const result = new Date();
|
|
60
60
|
const handlerMap = {
|
|
61
|
-
[FIELD_AGE_UNIT.MINUTE]: () => decreaseDate(result, "
|
|
62
|
-
[FIELD_AGE_UNIT.HOUR]: () => decreaseDate(result, "
|
|
61
|
+
[FIELD_AGE_UNIT.MINUTE]: () => decreaseDate(result, "Minutes", age),
|
|
62
|
+
[FIELD_AGE_UNIT.HOUR]: () => decreaseDate(result, "Hours", age),
|
|
63
63
|
[FIELD_AGE_UNIT.DAY]: () => decreaseDate(result, "Date", age),
|
|
64
64
|
[FIELD_AGE_UNIT.WEEK]: () => decreaseDate(result, "Date", age * 7),
|
|
65
65
|
[FIELD_AGE_UNIT.MONTH]: () => decreaseDate(result, "Month", age),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cnhis-design-vue",
|
|
3
|
-
"version": "3.1.24-beta.
|
|
3
|
+
"version": "3.1.24-beta.5",
|
|
4
4
|
"license": "ISC",
|
|
5
5
|
"module": "./es/components/index.js",
|
|
6
6
|
"main": "./es/components/index.js",
|
|
@@ -66,5 +66,5 @@
|
|
|
66
66
|
"iOS 7",
|
|
67
67
|
"last 3 iOS versions"
|
|
68
68
|
],
|
|
69
|
-
"gitHead": "
|
|
69
|
+
"gitHead": "9d7fb3bfacd501109ba0284caf58efa1c7108cd8"
|
|
70
70
|
}
|