From c398986ed86ff87225ee5f152d826c3064c3bdfd Mon Sep 17 00:00:00 2001 From: Evan Date: Tue, 26 Mar 2024 14:20:52 -0400 Subject: [PATCH] updated snapshots for timestamp --- src/app/Dashboard/CardEventsView.tsx | 32 ++++++++++++++++++------- src/app/__snapshots__/app.test.tsx.snap | 16 ++++++------- 2 files changed, 32 insertions(+), 16 deletions(-) diff --git a/src/app/Dashboard/CardEventsView.tsx b/src/app/Dashboard/CardEventsView.tsx index daed7895..3d4813ca 100644 --- a/src/app/Dashboard/CardEventsView.tsx +++ b/src/app/Dashboard/CardEventsView.tsx @@ -88,7 +88,9 @@ export const CardEventsView: React.FunctionComponent = () => { date={new Date('2023-06-17T14:02:00Z')} dateFormat={TimestampFormat.medium} timeFormat={TimestampFormat.short} - /> + > + Jun 17, 11:02 am + @@ -112,7 +114,9 @@ export const CardEventsView: React.FunctionComponent = () => { date={new Date('2023-06-17T14:13:00Z')} dateFormat={TimestampFormat.medium} timeFormat={TimestampFormat.short} - /> + > + Jun 17, 11:13 am + @@ -132,7 +136,9 @@ export const CardEventsView: React.FunctionComponent = () => { date={new Date('2023-06-17T13:59:00Z')} dateFormat={TimestampFormat.medium} timeFormat={TimestampFormat.short} - /> + > + Jun 17, 10:59 am + @@ -154,7 +160,9 @@ export const CardEventsView: React.FunctionComponent = () => { date={new Date('2023-06-17T13:45:00Z')} dateFormat={TimestampFormat.medium} timeFormat={TimestampFormat.short} - /> + > + Jun 17, 10:45 am + @@ -176,7 +184,9 @@ export const CardEventsView: React.FunctionComponent = () => { date={new Date('2023-06-17T13:33:00Z')} dateFormat={TimestampFormat.medium} timeFormat={TimestampFormat.short} - /> + > + Jun 17, 10:33 am + @@ -198,7 +208,9 @@ export const CardEventsView: React.FunctionComponent = () => { date={new Date('2023-06-17T13:33:00Z')} dateFormat={TimestampFormat.medium} timeFormat={TimestampFormat.short} - /> + > + Jun 17, 10:33 am + @@ -220,7 +232,9 @@ export const CardEventsView: React.FunctionComponent = () => { date={new Date('2023-06-17T13:31:00Z')} dateFormat={TimestampFormat.medium} timeFormat={TimestampFormat.short} - /> + > + Jun 17, 10:31 am + @@ -242,7 +256,9 @@ export const CardEventsView: React.FunctionComponent = () => { date={new Date('2023-06-17T13:30:00Z')} dateFormat={TimestampFormat.medium} timeFormat={TimestampFormat.short} - /> + > + Jun 17, 10:30 am + diff --git a/src/app/__snapshots__/app.test.tsx.snap b/src/app/__snapshots__/app.test.tsx.snap index 751ffd41..90b3734c 100644 --- a/src/app/__snapshots__/app.test.tsx.snap +++ b/src/app/__snapshots__/app.test.tsx.snap @@ -2811,7 +2811,7 @@ exports[`App tests should render default App component 1`] = ` class="pf-v5-c-timestamp__text" datetime="2023-06-17T14:02:00.000Z" > - Jun 17, 2023, 10:02 AM + Jun 17, 11:02 am @@ -2886,7 +2886,7 @@ exports[`App tests should render default App component 1`] = ` class="pf-v5-c-timestamp__text" datetime="2023-06-17T14:13:00.000Z" > - Jun 17, 2023, 10:13 AM + Jun 17, 11:13 am @@ -2955,7 +2955,7 @@ exports[`App tests should render default App component 1`] = ` class="pf-v5-c-timestamp__text" datetime="2023-06-17T13:59:00.000Z" > - Jun 17, 2023, 9:59 AM + Jun 17, 10:59 am @@ -3030,7 +3030,7 @@ exports[`App tests should render default App component 1`] = ` class="pf-v5-c-timestamp__text" datetime="2023-06-17T13:45:00.000Z" > - Jun 17, 2023, 9:45 AM + Jun 17, 10:45 am @@ -3105,7 +3105,7 @@ exports[`App tests should render default App component 1`] = ` class="pf-v5-c-timestamp__text" datetime="2023-06-17T13:33:00.000Z" > - Jun 17, 2023, 9:33 AM + Jun 17, 10:33 am @@ -3180,7 +3180,7 @@ exports[`App tests should render default App component 1`] = ` class="pf-v5-c-timestamp__text" datetime="2023-06-17T13:33:00.000Z" > - Jun 17, 2023, 9:33 AM + Jun 17, 10:33 am @@ -3255,7 +3255,7 @@ exports[`App tests should render default App component 1`] = ` class="pf-v5-c-timestamp__text" datetime="2023-06-17T13:31:00.000Z" > - Jun 17, 2023, 9:31 AM + Jun 17, 10:31 am @@ -3330,7 +3330,7 @@ exports[`App tests should render default App component 1`] = ` class="pf-v5-c-timestamp__text" datetime="2023-06-17T13:30:00.000Z" > - Jun 17, 2023, 9:30 AM + Jun 17, 10:30 am