Interactive interface for browsing global, full-resolution satellite imagery
format event title card date
Jason Kent858466addcd0
diff --git a/web/js/components/sidebar/event.js b/web/js/components/sidebar/event.jsindex 676fdaf6c..2a1053c33 100644--- a/web/js/components/sidebar/event.js+++ b/web/js/components/sidebar/event.js@@ -17,11 +17,7 @@ function Event (props) {sources,} = props;const eventDate = util.parseDateUTC(event.geometry[0].date);- const weekday = util.giveWeekDay(eventDate);- const day = eventDate.getUTCDate();- const month = util.giveMonth(eventDate);- const year = eventDate.getUTCFullYear();- const dateString = `${weekday}, ${month} ${day}, ${year}`;+ const dateString = util.toISOStringDateMonthAbbrev(eventDate);const itemClass = isSelected? 'item-selected selectorItem item': 'selectorItem item';