@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.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
  };