@haiilo/catalyst 6.4.6 → 6.4.7
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.css +2 -0
- package/dist/catalyst/catalyst.esm.js +1 -1
- package/dist/catalyst/{p-e7e1f61e.entry.js → p-77eee134.entry.js} +2 -2
- package/dist/catalyst/p-77eee134.entry.js.map +1 -0
- package/dist/catalyst/scss/core/_dialog.scss +2 -0
- package/dist/cjs/cat-alert_26.cjs.entry.js +3 -2
- package/dist/cjs/cat-alert_26.cjs.entry.js.map +1 -1
- package/dist/collection/components/cat-datepicker/cat-datepicker.format.js +3 -2
- package/dist/collection/components/cat-datepicker/cat-datepicker.format.js.map +1 -1
- package/dist/collection/scss/core/_dialog.scss +2 -0
- package/dist/components/cat-datepicker.locale.js +3 -2
- package/dist/components/cat-datepicker.locale.js.map +1 -1
- package/dist/esm/cat-alert_26.entry.js +3 -2
- package/dist/esm/cat-alert_26.entry.js.map +1 -1
- package/package.json +2 -2
- package/dist/catalyst/p-e7e1f61e.entry.js.map +0 -1
|
@@ -4064,7 +4064,7 @@ function dateFormat(mode) {
|
|
|
4064
4064
|
}
|
|
4065
4065
|
|
|
4066
4066
|
function getFormat(language, mode) {
|
|
4067
|
-
const date = new Date(2000, 1, 3,
|
|
4067
|
+
const date = new Date(2000, 1, 3, 16, 5, 6);
|
|
4068
4068
|
const formatDate = { year: 'numeric', month: '2-digit', day: '2-digit' };
|
|
4069
4069
|
const formatTime = { hour: '2-digit', minute: '2-digit' };
|
|
4070
4070
|
return mode === 'week'
|
|
@@ -4080,7 +4080,8 @@ function getFormat(language, mode) {
|
|
|
4080
4080
|
.replace('00', 'y')
|
|
4081
4081
|
.replace('02', 'm')
|
|
4082
4082
|
.replace('03', 'd')
|
|
4083
|
-
.replace('04', '
|
|
4083
|
+
.replace('04', 'h')
|
|
4084
|
+
.replace('16', 'H')
|
|
4084
4085
|
.replace('05', 'i')
|
|
4085
4086
|
.replace(/AM|PM/i, 'K');
|
|
4086
4087
|
}
|