From c93f761bdd2d7d0891d3cdfe51d48212578f605d Mon Sep 17 00:00:00 2001 From: "Karen A. Salamy" Date: Thu, 12 Feb 2026 11:35:02 -0800 Subject: [PATCH 1/2] Display seconds in CommsSection timestamps (fixes #491) Extends the full-resolution timestamp display from LogsSection to CommsSection. Command and mission event timestamps now show H:mm:ss for correlation with other datastreams and sources. --- apps/lrauv-dash2/components/CommsSection.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/lrauv-dash2/components/CommsSection.tsx b/apps/lrauv-dash2/components/CommsSection.tsx index f66c4f24..d82bcd07 100644 --- a/apps/lrauv-dash2/components/CommsSection.tsx +++ b/apps/lrauv-dash2/components/CommsSection.tsx @@ -88,7 +88,7 @@ const CommsSection: React.FC = ({ const day = today ? 'Today' : DateTime.fromISO(item?.commsIsoTime ?? '').toFormat('MMM d yyyy') - const time = DateTime.fromISO(item?.commsIsoTime ?? '').toFormat('H:mm') + const time = DateTime.fromISO(item?.commsIsoTime ?? '').toFormat('H:mm:ss') return item ? ( Date: Thu, 12 Feb 2026 11:45:13 -0800 Subject: [PATCH 2/2] Add test for H:mm:ss timestamp format in CommsSection Verifies timestamps include seconds for correlation with other datastreams. --- .../components/CommsSection.test.tsx | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/apps/lrauv-dash2/components/CommsSection.test.tsx b/apps/lrauv-dash2/components/CommsSection.test.tsx index 33a6f495..11fcb9a6 100644 --- a/apps/lrauv-dash2/components/CommsSection.test.tsx +++ b/apps/lrauv-dash2/components/CommsSection.test.tsx @@ -146,4 +146,21 @@ describe('CommsSection', () => { 'text-indigo-600' ) }) + + test('should display timestamps with seconds (H:mm:ss)', async () => { + render( + + + + ) + await waitFor(() => { + screen.getByText(/One More/i) + }) + const timeElements = screen.getAllByLabelText('time') + expect(timeElements.length).toBeGreaterThan(0) + const timeFormat = /^\d{1,2}:\d{2}:\d{2}$/ + timeElements.forEach((el) => { + expect(el.textContent).toMatch(timeFormat) + }) + }) })