diff --git a/mpwo_client/src/components/App.css b/mpwo_client/src/components/App.css index 636ce365..9c322e4d 100644 --- a/mpwo_client/src/components/App.css +++ b/mpwo_client/src/components/App.css @@ -41,6 +41,10 @@ to { transform: rotate(360deg); } } +a { + color: #40578a; +} + .card { text-align: left; } diff --git a/mpwo_client/src/components/Dashboard/ActivityCard.jsx b/mpwo_client/src/components/Dashboard/ActivityCard.jsx index 90ba94be..887c9180 100644 --- a/mpwo_client/src/components/Dashboard/ActivityCard.jsx +++ b/mpwo_client/src/components/Dashboard/ActivityCard.jsx @@ -1,3 +1,4 @@ +import { format } from 'date-fns' import React from 'react' import { Link } from 'react-router-dom' @@ -12,7 +13,7 @@ export default function ActivityCard (props) { {sports.filter(sport => sport.id === activity.sport_id) .map(sport => sport.label)} -{' '} - {activity.activity_date} + {format(activity.activity_date, 'DD/MM/YYYY HH:mm')}