@luftborn/custom-elements 2.8.7 → 2.8.8
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/demo/index.js +2 -2
- package/demo/index.min.js +1 -1
- package/demo/index.min.js.map +1 -1
- package/dist/elements/CustomFormatDateFieldElement/CustomDatepicker/CustomDatepickerUtils.js +1 -1
- package/dist/elements/CustomFormatDateFieldElement/CustomDatepicker/CustomDatepickerUtils.js.map +1 -1
- package/package.json +1 -1
- package/src/elements/CustomFormatDateFieldElement/CustomDatepicker/CustomDatepickerUtils.ts +2 -2
package/demo/index.min.js
CHANGED
|
@@ -3420,7 +3420,7 @@ function convertStringToDate(dateString, dateFormat, language) {
|
|
|
3420
3420
|
var index = months.indexOf(monthName.toLowerCase());
|
|
3421
3421
|
if (index === -1) {
|
|
3422
3422
|
var englishMonthIndex = englishMonths.indexOf(monthName.toLowerCase());
|
|
3423
|
-
return englishMonthIndex === -1 ? NaN : englishMonthIndex;
|
|
3423
|
+
return englishMonthIndex === -1 ? NaN : englishMonthIndex + 1;
|
|
3424
3424
|
}
|
|
3425
3425
|
return index + 1;
|
|
3426
3426
|
};
|