Skip to content

Commit 27adab8

Browse files
fix(component-events): changed hyphen to "to" in event cards
1 parent 5dab486 commit 27adab8

File tree

1 file changed

+1
-1
lines changed
  • packages/component-events/src/core/utils

1 file changed

+1
-1
lines changed

packages/component-events/src/core/utils/date.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export const formatTime = (startTime, endTime) => {
5555
let formatedEndTime = stringifyDate(new Date(standardizedEndTime));
5656
formatedEndTime = formatAMPM(new Date(formatedEndTime));
5757

58-
return `${formatedStartTime} -<span class="visually-hidden">through</span> ${formatedEndTime}`;
58+
return `${formatedStartTime} to ${formatedEndTime}`;
5959
};
6060

6161
/**

0 commit comments

Comments
 (0)