I have a report that reports the rain sum for the last 365 days:

$span(day_delta=365).rain.sum

I want to label this value like so:

365 days: 997mm

Is there a way to format the number 365 with $units.labels.day?
Something like:

$format(365, $units.labels.day) => 365 days
$format(1, $units.labels.day) => 1 day








-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/ce86da41-9f28-41cf-a5c1-bd07b0990cb6n%40googlegroups.com.

Reply via email to