Skip to content

Commit

Permalink
Merge pull request #18 from danreale/16-wait-list-time-breakdown
Browse files Browse the repository at this point in the history
16 wait list time breakdown - formatting changes
  • Loading branch information
danreale authored Sep 23, 2024
2 parents 069b564 + 9c2cf2e commit 38b97f5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
8 changes: 5 additions & 3 deletions app/routes/day.$day._index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,11 @@ export default function Daily() {
return (
<div>
<Header />
<h1 className="text-center text-4xl">Today's Data</h1>
<h2 className="text-center text-4xl text-yellow-500 italic pb-2">
{params.day}
<h1 className="text-center text-4xl">Day's Data</h1>
<h2 className="text-center text-4xl text-yellow-500 italic font-semibold pb-2">
{DateTime.fromFormat(params.day!!, "yyyy-MM-dd").toLocaleString(
DateTime.DATE_MED_WITH_WEEKDAY
)}
</h2>

{pageLoading && (
Expand Down
7 changes: 5 additions & 2 deletions app/routes/yesterday._index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,11 @@ export default function Yesterday() {
<div>
<Header />
<h1 className="text-center text-4xl">Yesterday's Data</h1>
<h2 className="text-center text-4xl text-yellow-500 italic pb-2">
{params.get("reportDate") || todaysDate}
<h2 className="text-center text-4xl text-yellow-500 italic font-semibold pb-2">
{DateTime.fromFormat(
params.get("reportDate") || todaysDate,
"MM-dd-yyyy"
).toLocaleString(DateTime.DATE_MED_WITH_WEEKDAY)}
</h2>

{pageLoading && (
Expand Down

0 comments on commit 38b97f5

Please sign in to comment.