Skip to content

Commit 667a9cc

Browse files
committed
feat: Add TODO comment for timezone standardization in EventCard
- Added comment indicating where timezone conversion will be implemented - This is the initial step for standardizing event time display based on user timezone
1 parent b2299ca commit 667a9cc

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/components/CommunityPortal/Event/EventCard/EventCard.jsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ function EventCard(props) {
4848
return (locationType?.toLowerCase() || '') === 'virtual' ? 'virtual-tag' : 'in-person-tag';
4949
};
5050

51+
// TODO: Implement timezone conversion to display event times in user's local timezone
52+
// This will ensure event times are accurate and consistent across different user locations
5153
const formatDateTime = dateString => {
5254
try {
5355
return format(new Date(dateString), 'h:mm a');

0 commit comments

Comments
 (0)