@loadsmart/loadsmart-ui 7.2.0 → 7.2.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@loadsmart/loadsmart-ui",
3
- "version": "7.2.0",
3
+ "version": "7.2.1",
4
4
  "description": "Miranda UI, a React UI library",
5
5
  "main": "dist",
6
6
  "files": [
@@ -114,6 +114,12 @@ describe('DateFormatHelper', () => {
114
114
  DateFormatHelper('MM/DD/YYYY HH:mm:ss').format(DateHelper('2022-02-01T12:00:00.000Z'))
115
115
  ).toBe('02/01/2022 12:00:00')
116
116
 
117
+ expect(
118
+ DateFormatHelper('MM/DD/YYYY HH:mm:ss').format(
119
+ DateHelper('2022-02-01T00:00:00.000Z', { normalize: false })
120
+ )
121
+ ).toBe('02/01/2022 00:00:00')
122
+
117
123
  expect(
118
124
  DateFormatHelper('MM/DD/YYYY, hh:mm A').format(
119
125
  DateHelper('2022-02-01T10:30:00.000Z', { normalize: false })
@@ -144,7 +144,7 @@ const DEFAULT_FORMATTERS: Record<string, Intl.DateTimeFormat> = {
144
144
  }),
145
145
  HH: new Intl.DateTimeFormat('en-US', {
146
146
  hour: '2-digit',
147
- hour12: false,
147
+ hourCycle: 'h23',
148
148
  }),
149
149
  hh: new Intl.DateTimeFormat('en-US', {
150
150
  hour: '2-digit',