@push.rocks/smarttime 4.0.4 → 4.0.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.
- package/dist_bundle/bundle.js +6 -0
- package/dist_bundle/bundle.js.map +2 -2
- package/dist_ts/00_commitinfo_data.js +1 -1
- package/dist_ts/smarttime.units.d.ts +2 -0
- package/dist_ts/smarttime.units.js +7 -1
- package/package.json +1 -1
- package/ts/00_commitinfo_data.ts +1 -1
- package/ts/smarttime.units.ts +7 -0
package/dist_bundle/bundle.js
CHANGED
|
@@ -21392,6 +21392,9 @@ var units3 = {
|
|
|
21392
21392
|
},
|
|
21393
21393
|
minutes: (timesArg = 1) => {
|
|
21394
21394
|
return timesArg * 6e4;
|
|
21395
|
+
},
|
|
21396
|
+
seconds: (timesArg = 1) => {
|
|
21397
|
+
return timesArg * 1e3;
|
|
21395
21398
|
}
|
|
21396
21399
|
};
|
|
21397
21400
|
var getMilliSecondsFromUnits3 = (combinationArg) => {
|
|
@@ -21417,6 +21420,9 @@ var getMilliSecondsFromUnits3 = (combinationArg) => {
|
|
|
21417
21420
|
if (combinationArg.minutes) {
|
|
21418
21421
|
addMilliSeconds(units3.minutes(combinationArg.minutes));
|
|
21419
21422
|
}
|
|
21423
|
+
if (combinationArg.seconds) {
|
|
21424
|
+
addMilliSeconds(units3.seconds(combinationArg.seconds));
|
|
21425
|
+
}
|
|
21420
21426
|
return timeInMilliseconds;
|
|
21421
21427
|
};
|
|
21422
21428
|
var getMilliSecondsAsHumanReadableString3 = (milliSecondsArg) => {
|