blixify-server 0.3.10 → 0.3.11

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.
@@ -837,11 +837,11 @@ class MongoWrapper {
837
837
  const isDuration = date.length === 2;
838
838
  const isValidStartDate = (0, moment_timezone_1.default)(startDate, "DD/MM/YYYY").isValid();
839
839
  const isValidEndDate = (0, moment_timezone_1.default)(endDate, "DD/MM/YYYY").isValid();
840
- const isoStartDate = moment_timezone_1.default
841
- .tz(startDate, "DD/MM/YYYY HH:mm:ss", timezone)
840
+ const isoStartDate = (0, moment_timezone_1.default)(startDate, "DD/MM/YYYY HH:mm:ss")
841
+ .tz(timezone)
842
842
  .toDate();
843
- const isoEndDate = moment_timezone_1.default
844
- .tz(endDate, "DD/MM/YYYY HH:mm:ss", timezone)
843
+ const isoEndDate = (0, moment_timezone_1.default)(endDate, "DD/MM/YYYY HH:mm:ss")
844
+ .tz(timezone)
845
845
  .toDate();
846
846
  if (!isValidStartDate || !isValidEndDate) {
847
847
  res
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "blixify-server",
3
- "version": "0.3.10",
3
+ "version": "0.3.11",
4
4
  "license": "MIT",
5
5
  "main": "dist/apis/index.js",
6
6
  "private": false,