From f1dedec2afd593c4fc26a3d90da60763b893b83c Mon Sep 17 00:00:00 2001
From: eug-vs <eug-vs@keemail.me>
Date: Fri, 4 Dec 2020 03:55:31 +0300
Subject: feat: display full date

---
 src/components/EventCard/EventCard.tsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'src/components/EventCard/EventCard.tsx')

diff --git a/src/components/EventCard/EventCard.tsx b/src/components/EventCard/EventCard.tsx
index 179a868..1dfdef6 100644
--- a/src/components/EventCard/EventCard.tsx
+++ b/src/components/EventCard/EventCard.tsx
@@ -104,8 +104,8 @@ const EventCard: React.FC<PropTypes> = ({ event, mutate }) => {
     <Card variant="outlined">
       <CardHeader title={title} subheader={schedule} />
       <CardContent>
-        {nextRunAt && <div> Next run at: {new Date(nextRunAt).toLocaleTimeString()} </div>}
-        {lastRunAt && <div> Last run at: {new Date(lastRunAt).toLocaleTimeString()} </div>}
+        {nextRunAt && <div> Next run at: {new Date(nextRunAt).toLocaleString()} </div>}
+        {lastRunAt && <div> Last run at: {new Date(lastRunAt).toLocaleString()} </div>}
         {conferenceId && <div> ConferenceID: {conferenceId} </div>}
         {attendanceId && <div> AttendanceID: {attendanceId} </div>}
         <div>
-- 
cgit v1.2.3

