chmouel / nextmeeting

nextmeeting - Show your google calendar next meeting in your waybar or polybar
Apache License 2.0
26 stars 3 forks source link

fix to comply with latest version gcalcli #1

Closed Bryntet closed 10 months ago

Bryntet commented 10 months ago

It is currently broken and this fixes it :)

chmouel commented 10 months ago

really ? which version of gcalcli ? I use 4.3.0 (from arch i think)

(and thanks for the PR :))

chmouel commented 10 months ago

looks like your PR is working as well for me on my laptop, so if it fixes things for you i am happy to merge this :)

let me know if you need a release..

Bryntet commented 10 months ago

installed via AUR and nothing showed up in the meeting notes

gcalcli --nocolor agenda --nodeclined --calendar=My_calendar --details=end --details=url --tsv today gives gcalcli agenda: error: argument start: invalid get_time_from_str value: '--calendar=My_calendar'

whereas gcalcli --nocolor --calendar=My_calendar agenda today --nodeclined --details=end --details=url --tsv works

you can do a release if you'd like, as I first just shrugged this off as your project not working, since your program doesn't give the user the gcalcli error message

edit: I'm also on gcalcli 4.3.0 btw

chmouel commented 10 months ago

ah sounds good thanks, it's weird that i have the same version and it works for me,

i'll see if i can output the gcalcli error from now on,

thanks again for the fix, it should be release in the AUR now