@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
|
@@ -4060,7 +4060,7 @@ function dateFormat(mode) {
|
|
|
4060
4060
|
}
|
|
4061
4061
|
|
|
4062
4062
|
function getFormat(language, mode) {
|
|
4063
|
-
const date = new Date(2000, 1, 3,
|
|
4063
|
+
const date = new Date(2000, 1, 3, 16, 5, 6);
|
|
4064
4064
|
const formatDate = { year: 'numeric', month: '2-digit', day: '2-digit' };
|
|
4065
4065
|
const formatTime = { hour: '2-digit', minute: '2-digit' };
|
|
4066
4066
|
return mode === 'week'
|
|
@@ -4076,7 +4076,8 @@ function getFormat(language, mode) {
|
|
|
4076
4076
|
.replace('00', 'y')
|
|
4077
4077
|
.replace('02', 'm')
|
|
4078
4078
|
.replace('03', 'd')
|
|
4079
|
-
.replace('04', '
|
|
4079
|
+
.replace('04', 'h')
|
|
4080
|
+
.replace('16', 'H')
|
|
4080
4081
|
.replace('05', 'i')
|
|
4081
4082
|
.replace(/AM|PM/i, 'K');
|
|
4082
4083
|
}
|