@haiilo/catalyst 10.0.2 → 10.0.3
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/catalyst/catalyst.esm.js +1 -1
- package/dist/catalyst/{p-3c7a135c.entry.js → p-db5bf9af.entry.js} +2 -2
- package/dist/catalyst/p-db5bf9af.entry.js.map +1 -0
- package/dist/cjs/cat-alert_26.cjs.entry.js +1 -1
- package/dist/cjs/cat-alert_26.cjs.entry.js.map +1 -1
- package/dist/collection/components/cat-datepicker/cat-datepicker.locale.js +1 -1
- package/dist/collection/components/cat-datepicker/cat-datepicker.locale.js.map +1 -1
- package/dist/components/cat-datepicker.locale.js +1 -1
- package/dist/components/cat-datepicker.locale.js.map +1 -1
- package/dist/esm/cat-alert_26.entry.js +1 -1
- package/dist/esm/cat-alert_26.entry.js.map +1 -1
- package/package.json +2 -2
- package/dist/catalyst/p-3c7a135c.entry.js.map +0 -1
|
@@ -4112,7 +4112,7 @@ function daysForLocale(language, weekday = 'long') {
|
|
|
4112
4112
|
return [...Array(7).keys()].map(day => format(new Date(date.getTime()).setUTCDate(firstDayOfWeek + day)));
|
|
4113
4113
|
}
|
|
4114
4114
|
function monthsForLocale(language, month = 'long') {
|
|
4115
|
-
const date = new Date();
|
|
4115
|
+
const date = new Date(0);
|
|
4116
4116
|
const format = new Intl.DateTimeFormat(language, { month }).format;
|
|
4117
4117
|
return [...Array(12).keys()].map(month => format(new Date(date.getTime()).setUTCMonth(month)));
|
|
4118
4118
|
}
|