ngx-techlify-core 14.11.6 → 14.11.7

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.
@@ -3437,8 +3437,8 @@ function calculateTimeline(value, dateFrom, dateTo) {
3437
3437
  switch (value) {
3438
3438
  case Timeline.CUSTOM: { // Custom
3439
3439
  data.show_custom_field = true;
3440
- data.date_from = moment(dateFrom).calendar();
3441
- data.date_to = moment(dateTo).calendar();
3440
+ data.date_from = dateFrom ? moment(dateFrom).toISOString() : '';
3441
+ data.date_to = dateTo ? moment(dateTo).toISOString() : '';
3442
3442
  break;
3443
3443
  }
3444
3444
  case Timeline.TODAY: { // Today