diff --git a/public/tabs/history/__tests__/chat_history_list.test.tsx b/public/tabs/history/__tests__/chat_history_list.test.tsx index f561d5a4..337ba6bc 100644 --- a/public/tabs/history/__tests__/chat_history_list.test.tsx +++ b/public/tabs/history/__tests__/chat_history_list.test.tsx @@ -21,8 +21,8 @@ describe('', () => { expect(getByText('foo')).toBeInTheDocument(); expect(getByText('bar')).toBeInTheDocument(); - expect(getByText('January 1, 1970 at 12:0 AM')).toBeInTheDocument(); - expect(getByText('January 1, 1970 at 12:6 AM')).toBeInTheDocument(); + expect(getByText('January 1, 1970 at 12:00 AM')).toBeInTheDocument(); + expect(getByText('January 1, 1970 at 12:06 AM')).toBeInTheDocument(); expect(getAllByLabelText('history horizontal rule')).toHaveLength(1); }); diff --git a/public/tabs/history/chat_history_list.tsx b/public/tabs/history/chat_history_list.tsx index 216ff11e..40b52d2a 100644 --- a/public/tabs/history/chat_history_list.tsx +++ b/public/tabs/history/chat_history_list.tsx @@ -69,7 +69,7 @@ export const ChatHistoryListItem = ({ {moment(updatedTimeMs).format('MMMM D, YYYY')} at{' '} - {moment(updatedTimeMs).format('h:m A')} + {moment(updatedTimeMs).format('h:mm A')}