@kontur.candy/generator 5.78.1-diadoc-title-1.1 → 5.78.1-diadoc-title-1.2

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.
Files changed (2) hide show
  1. package/dist/index.js +3 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -48770,6 +48770,9 @@ function isDate(date) {
48770
48770
  return date instanceof Date && !isNaN(date.getTime());
48771
48771
  }
48772
48772
  function convertDate(dateValue) {
48773
+ if (isDate(dateValue)) {
48774
+ return dateValue;
48775
+ }
48773
48776
  // dd.MM.yyyy
48774
48777
  if (_Engine_ValidationHelper__WEBPACK_IMPORTED_MODULE_0__.ValidationHelper.isDateFormat(dateValue)) {
48775
48778
  var _v$, _v$2, _v$3;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kontur.candy/generator",
3
- "version": "5.78.1-diadoc-title-1.1",
3
+ "version": "5.78.1-diadoc-title-1.2",
4
4
  "description": "Candy forms generator",
5
5
  "author": "SKBKontur Candy Team",
6
6
  "private": false,