diff --git a/app/routes/day.$day._index.tsx b/app/routes/day.$day._index.tsx index cfb415b..e67fb14 100644 --- a/app/routes/day.$day._index.tsx +++ b/app/routes/day.$day._index.tsx @@ -41,9 +41,11 @@ export default function Daily() { return (
-

Today's Data

-

- {params.day} +

Day's Data

+

+ {DateTime.fromFormat(params.day!!, "yyyy-MM-dd").toLocaleString( + DateTime.DATE_MED_WITH_WEEKDAY + )}

{pageLoading && ( diff --git a/app/routes/yesterday._index.tsx b/app/routes/yesterday._index.tsx index 29ac700..5548017 100644 --- a/app/routes/yesterday._index.tsx +++ b/app/routes/yesterday._index.tsx @@ -46,8 +46,11 @@ export default function Yesterday() {

Yesterday's Data

-

- {params.get("reportDate") || todaysDate} +

+ {DateTime.fromFormat( + params.get("reportDate") || todaysDate, + "MM-dd-yyyy" + ).toLocaleString(DateTime.DATE_MED_WITH_WEEKDAY)}

{pageLoading && (