From f1dedec2afd593c4fc26a3d90da60763b893b83c Mon Sep 17 00:00:00 2001 From: eug-vs 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') 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 = ({ event, mutate }) => { - {nextRunAt &&
Next run at: {new Date(nextRunAt).toLocaleTimeString()}
} - {lastRunAt &&
Last run at: {new Date(lastRunAt).toLocaleTimeString()}
} + {nextRunAt &&
Next run at: {new Date(nextRunAt).toLocaleString()}
} + {lastRunAt &&
Last run at: {new Date(lastRunAt).toLocaleString()}
} {conferenceId &&
ConferenceID: {conferenceId}
} {attendanceId &&
AttendanceID: {attendanceId}
}
-- cgit v1.2.3