samg / timetrap

Simple command line timetracker
http://rubygems.org/gems/timetrap
Other
1.48k stars 115 forks source link

Error for ' t d -f ical' #163

Closed nixbytes closed 3 years ago

nixbytes commented 6 years ago

Hello Love the app, it is super useful. their issue in which I am having on OSX

we I run t d -f ical undefined methoddtstart' for #`

when i check the file it creates, their is no data.

so I re-install the gem icalendar and tried icalendar2.

any ideas what could be the cause:?

samg commented 6 years ago

My guess would be there's an incompatibility between recent versions of the icalendar gem and timetrap. The icalendar functionality is tested against icalendar version 1.3, which is very old, but may do what you want. I'd recommend downgrading your icalendar gem to the 1.3 series to see if that solves the problem. It'd also be possible to update timetrap to work with newer versions of icalendar, though I won't have time to do that in the foreseeable future. I'd happily accept a pull request for it though.