@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.
@@ -21,6 +21,8 @@ $-dialog-padding: 1.5rem;
21
21
  }
22
22
 
23
23
  .cat-dialog {
24
+ display: flex;
25
+ flex-direction: column;
24
26
  background-color: cat-token('color.ui.background.surface');
25
27
  border-radius: cat-border-radius('l');
26
28
  @include cat-elevation(7);
@@ -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, 4, 5, 6);
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', 'H')
4083
+ .replace('04', 'h')
4084
+ .replace('16', 'H')
4084
4085
  .replace('05', 'i')
4085
4086
  .replace(/AM|PM/i, 'K');
4086
4087
  }