From f05aa903dcd4d9f09507520ba5949ce764a5f329 Mon Sep 17 00:00:00 2001 From: Chris Cummer Date: Mon, 14 May 2018 21:08:07 -0700 Subject: [PATCH] Fixes #38. Sunrise/set formatting --- weather/display.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weather/display.go b/weather/display.go index 6ea45f44..874671eb 100644 --- a/weather/display.go +++ b/weather/display.go @@ -43,7 +43,7 @@ func (widget *Widget) description(cityData *owm.CurrentWeatherData) string { func (widget *Widget) sunInfo(cityData *owm.CurrentWeatherData) string { return fmt.Sprintf( - " Rise: %s Set: %s", + " Rise: %s Set: %s", wtf.UnixTime(int64(cityData.Sys.Sunrise)).Format("15:04 MST"), wtf.UnixTime(int64(cityData.Sys.Sunset)).Format("15:04 MST"), )