blixify-server 0.3.19 → 0.3.20
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.
|
@@ -856,11 +856,11 @@ class MongoWrapper {
|
|
|
856
856
|
const isValidEndDate = moment_timezone_1.default
|
|
857
857
|
.tz(endDate, "DD/MM/YYYY HH:mm:ss", timezone)
|
|
858
858
|
.isValid();
|
|
859
|
-
const isoStartDate =
|
|
860
|
-
.tz(timezone)
|
|
859
|
+
const isoStartDate = moment_timezone_1.default
|
|
860
|
+
.tz(startDate, "DD/MM/YYYY HH:mm:ss", timezone)
|
|
861
861
|
.toDate();
|
|
862
|
-
const isoEndDate =
|
|
863
|
-
.tz(timezone)
|
|
862
|
+
const isoEndDate = moment_timezone_1.default
|
|
863
|
+
.tz(endDate, "DD/MM/YYYY HH:mm:ss", timezone)
|
|
864
864
|
.toDate();
|
|
865
865
|
if (!isValidStartDate || !isValidEndDate) {
|
|
866
866
|
res
|