@redneckz/wildless-cms-uni-blocks 0.14.733 → 0.14.734

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.
@@ -7076,20 +7076,13 @@
7076
7076
  };
7077
7077
  };
7078
7078
 
7079
- const dateToISO = (date) => {
7080
- if (!date) {
7081
- return '';
7082
- }
7083
- return new Date(date).toISOString().split('.')[0];
7084
- };
7085
-
7086
7079
  const getDeliveryData = (formData) => {
7087
7080
  const { methodObtain, deliveryDate = '' } = formData;
7088
7081
  const isCourierDelivery = methodObtain === 'courier';
7089
7082
  return isCourierDelivery
7090
7083
  ? {
7091
7084
  courierDeliveryFlg: isCourierDelivery,
7092
- deliveryDate: dateToISO(deliveryDate),
7085
+ deliveryDate: deliveryDate.toString().replace(/(GMT)[+-]\d{4}/, 'GMT+0000'),
7093
7086
  deliveryTimeCd: { value: 'TIME_2' },
7094
7087
  //TODO временный хардкод для тестирования, не забыть удалить
7095
7088
  office: { id: '3' },
@@ -10456,7 +10449,7 @@
10456
10449
  slots: () => [HEADER_SLOT, FOOTER_SLOT, STICKY_FOOTER_SLOT],
10457
10450
  });
10458
10451
 
10459
- const packageVersion = "0.14.732";
10452
+ const packageVersion = "0.14.733";
10460
10453
 
10461
10454
  exports.Blocks = Blocks;
10462
10455
  exports.ContentPage = ContentPage;