From 8c8b24607fc16c09126f4454cadb115b0ab85bf6 Mon Sep 17 00:00:00 2001 From: Ryan Matthews Date: Thu, 8 Nov 2018 16:48:03 -0500 Subject: [PATCH] Format events in the local timezone --- cmd_events.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd_events.go b/cmd_events.go index 7743668..d23b4c5 100644 --- a/cmd_events.go +++ b/cmd_events.go @@ -95,7 +95,7 @@ func doEvents() error { } icon := gen.Icon(eventIconFont, eventIconName, e.Colour) - sub := fmt.Sprintf("%s – %s / %s", e.Start.Format("15:04"), e.End.Format("15:04"), e.CalendarTitle) + sub := fmt.Sprintf("%s – %s / %s", e.Start.Local().Format("15:04"), e.End.Local().Format("15:04"), e.CalendarTitle) it := wf.NewItem(e.Title). Subtitle(sub). Icon(icon).