@vidispine/vdt-js 22.4.0-pre.5 → 22.4.0-pre.6
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/index.es.js +0 -5
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +0 -5
- package/dist/index.js.map +1 -1
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -2417,11 +2417,6 @@ var parseNowDate = function parseNowDate() {
|
|
|
2417
2417
|
var nowDiff = new Date();
|
|
2418
2418
|
|
|
2419
2419
|
switch (unit) {
|
|
2420
|
-
case 'TODAY':
|
|
2421
|
-
if (sign === '+') nowDiff.setHours(23, 59, 59, 999);
|
|
2422
|
-
if (sign === '-') nowDiff.setHours(0, 0, 0, 0);
|
|
2423
|
-
break;
|
|
2424
|
-
|
|
2425
2420
|
case 'HOUR':
|
|
2426
2421
|
case 'HOURS':
|
|
2427
2422
|
if (sign === '+') nowDiff.setHours(nowDiff.getHours() + number);
|