Skip to content

Commit

Permalink
Implemented text-only output
Browse files Browse the repository at this point in the history
  • Loading branch information
mrusme committed Nov 21, 2022
1 parent 7a903c7 commit ced7739
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion caldr.go
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,12 @@ func main() {
os.Exit(1)
}
} else {
// fmt.Printf("%+v\n", ic.Props.Get(ical.PropSummary).Value)
for _, calEvent := range calEvents {
fmt.Printf("%s: %s\n",
calEvent.StartsAt.Format("2006-01-02 15:04:05"),
calEvent.Name,
)
}
}
}

Expand Down

0 comments on commit ced7739

Please sign in to comment.