mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
Rudimentary modal showing up for Todo on 'e'
This commit is contained in:
@@ -113,7 +113,7 @@ func (widget *Widget) eventSummary(event *calendar.Event, conflict bool) string
|
||||
|
||||
func (widget *Widget) eventTimestamp(event *calendar.Event) string {
|
||||
startTime, _ := time.Parse(time.RFC3339, event.Start.DateTime)
|
||||
return startTime.Format("Mon, Jan 2, 15:04")
|
||||
return startTime.Format(wtf.FriendlyDateTimeFormat)
|
||||
}
|
||||
|
||||
// eventIsNow returns true if the event is happening now, false if it not
|
||||
|
||||
Reference in New Issue
Block a user