Open reagle opened 5 years ago
If you use TZ names from the tzdatabase, then you don't get the error (however, I can repro the non-stickiness).
jcrowgey@tsuga:~$ gcalcli --cal=joshua.crowgey@gmail.com add
Title: test pacific
Location:
When: 15:00 America/Los_Angeles
Duration (minutes): 8
Description:
Enter a valid reminder or "." to end: .
jcrowgey@tsuga:~$ gcalcli --cal=joshua.crowgey@gmail.com add
Title: test central
Location:
When: 15:00 America/Chicago
Duration (minutes): 8
Description:
Enter a valid reminder or "." to end: .
jcrowgey@tsuga:~$ gcalcli --cal=joshua.crowgey@gmail.com add
Title: test zulu
Location:
When: 15:00 Zulu
Duration (minutes): 8
Description:
Enter a valid reminder or "." to end: .
jcrowgey@tsuga:~$ gcalcli agenda
Thu May 02 3:00pm test pacific
3:00pm test central
3:00pm test zulu
Regarding "CST" vs the tzinfo db names, it's handy that the library is telling us what to do to make it better, however. I wonder if that would help the stickiness too.
How do you specify a time zone? When specified in quick, they don't stick, and in add I get an error.
gcalcli v4.0.4 (Eric Davis, Brian Hartvigsen, Joshua Crowgey)