From 0786e9cde18448692466c61217d1d7d65f23594f Mon Sep 17 00:00:00 2001 From: Galen Guyer Date: Sat, 14 Nov 2020 10:10:24 -0500 Subject: drop year from updated string --- src/App.js | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'src/App.js') diff --git a/src/App.js b/src/App.js index 74d97be..6fdf77a 100644 --- a/src/App.js +++ b/src/App.js @@ -31,7 +31,16 @@ function App() { return (

RIT Covid Dashboard

-

Last Updated: {lastUpdate.toLocaleString(DateTime.DATETIME_FULL)}

+

+ Last Updated:{" "} + {lastUpdate.toLocaleString({ + weekday: "long", + month: "long", + day: "2-digit", + hour: "2-digit", + minute: "2-digit", + })} +

-- cgit v1.2.3