@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.es.js
CHANGED
|
@@ -2402,11 +2402,6 @@ var parseNowDate = function parseNowDate() {
|
|
|
2402
2402
|
var nowDiff = new Date();
|
|
2403
2403
|
|
|
2404
2404
|
switch (unit) {
|
|
2405
|
-
case 'TODAY':
|
|
2406
|
-
if (sign === '+') nowDiff.setHours(23, 59, 59, 999);
|
|
2407
|
-
if (sign === '-') nowDiff.setHours(0, 0, 0, 0);
|
|
2408
|
-
break;
|
|
2409
|
-
|
|
2410
2405
|
case 'HOUR':
|
|
2411
2406
|
case 'HOURS':
|
|
2412
2407
|
if (sign === '+') nowDiff.setHours(nowDiff.getHours() + number);
|