1 files changed,
2 insertions(+),
2 deletions(-)
Author:
Oleksandr Smirnov
olexsmir@gmail.com
Committed at:
2026-08-29 15:24:31 +0300
Authored at:
2026-08-29 14:04:03 +0300
Change ID:
xluvynvzwyrpqwpmkxouwuyplsykktkl
Parent:
89668fc
M
internal/plumbing/weather/weather.go
··· 54 54 return []string{"no forecast data"} 55 55 } 56 56 57 - lines := []string{city} 58 - 59 57 t := fc.Weather[0].Hourly 58 + lines := []string{} 59 + lines = append(lines, fmt.Sprintf("%s (%s)", city, fc.Weather[0].Date)) 60 60 lines = append(lines, fmt.Sprintf("Today %s %s° / %s %s° / %s %s°", 61 61 emoji(t[2].Code), t[2].TempC, // morning 62 62 emoji(t[4].Code), t[4].TempC, // midday