From 3f3c21ba54ceee43394af4d568c362b7f4d42fbd Mon Sep 17 00:00:00 2001 From: Marc Young Date: Fri, 9 Feb 2024 17:25:16 -0700 Subject: [PATCH] SUL23-404 - branch pages update to text for hours closed/open. (#107) --- src/components/node/sul-library/library-hours.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/node/sul-library/library-hours.tsx b/src/components/node/sul-library/library-hours.tsx index 64d1ba17..5f71de8c 100644 --- a/src/components/node/sul-library/library-hours.tsx +++ b/src/components/node/sul-library/library-hours.tsx @@ -32,7 +32,7 @@ const LibraryHeaderHoursComponent = ({hoursId}: { hoursId: string }) => { return; } const {isOpen, selectOptions, closingTime, openingTime, closedAllDay} = hours; - const hoursDisplay = closedAllDay ? 'Closed' : (isOpen ? `Open: ${openingTime} - ${closingTime}` : `Closed: ${openingTime} - ${closingTime}`); + const hoursDisplay = closedAllDay ? 'Closed' : (isOpen ? `Open until ${closingTime}` : `Closed until ${openingTime}`); return ( <> @@ -75,4 +75,4 @@ const LibraryHeaderHoursComponent = ({hoursId}: { hoursId: string }) => { ) } -export default LibraryHeaderHours; \ No newline at end of file +export default LibraryHeaderHours;