aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreug-vs <eug-vs@keemail.me>2020-12-04 03:55:31 +0300
committereug-vs <eug-vs@keemail.me>2020-12-06 14:41:48 +0300
commitf1dedec2afd593c4fc26a3d90da60763b893b83c (patch)
treef57ed7de102b920466ed8b18743c0f876f04efc4
parentbcc452f6e47bed86bb9c9cb6a54b947dd2446027 (diff)
downloadfamcs-kit-f1dedec2afd593c4fc26a3d90da60763b893b83c.tar.gz
feat: display full date
-rw-r--r--src/components/EventCard/EventCard.tsx4
1 files changed, 2 insertions, 2 deletions
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>