fix: Use multi-line

Signed-off-by: Tim Hårek Andreassen <tim@harek.no>
This commit is contained in:
Tim Hårek Andreassen 2024-10-04 23:18:41 +02:00
parent 019ec38fc1
commit a8689a100b
No known key found for this signature in database
GPG key ID: E59C7734F0E10EB5

View file

@ -56,7 +56,11 @@ func now(cmd *cobra.Command, args []string) {
}
fmt.Printf(
`%s %s: Temperature: %.1f °C Rain: %.1f mm Wind: %.1f m/s from %s `,
`%s %s:
Temperature: %.1f °C
Rain: %.1f mm
Wind: %.1f m/s from %s
`,
n.Location,
itemTime.Format("Monday 2 Jan 15:04"),
n.Temperature,