Skip to content

Commit

Permalink
feat(display): last month mean temp
Browse files Browse the repository at this point in the history
  • Loading branch information
Forceh91 committed Nov 5, 2023
1 parent ddc0c65 commit 6acc6b0
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/display/components/screens/lastmonth.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,18 @@ export function LastMonthScreen(props: LastMonthScreenProps) {
{"".padStart(4)}
{formatNumber(lastMonth.normal?.temperature.min)}
</div>
<div>
{"Mean Temp".padEnd(15)}
{formatNumber(lastMonth.actual?.averageTemp)}
{"".padStart(4)}
{formatNumber(lastMonth.normal?.temperature.mean)}
</div>
<div>
{"Precip (MM)".padEnd(15)}
{formatNumber(lastMonth.actual?.totalPrecip)}
{"".padStart(4)}
{formatNumber(lastMonth.normal?.precip.amount)}
</div>
<br />
{/* on the original channel this line mentioned where in records the precip amount came (1st, 3rd, 9th, etc.)*/}
<div>
{"Warmest Temp.".padEnd(14)}
Expand Down

0 comments on commit 6acc6b0

Please sign in to comment.