@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.
- package/dist/index.js +3 -0
- 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;
|