anasAsh / googlecl

Automatically exported from code.google.com/p/googlecl
0 stars 0 forks source link

Adding to specific Calendar gives wrong time #247

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When adding an event to the default calendar it works fine, but when I specify 
a calendar, the time is 4 hours earlier.  If I do: google calendar add "9 pm 
new event" it adds to the default calendar fine.  If I do: google calendar "9 
pm new event" --cal "different" it adds the event at 5 pm.

My time zone is -5 GMT if that makes any difference

GoogleCL ver 0.9.9 on Windows XP

Original issue reported on code.google.com by semi225...@gmail.com on 9 Aug 2010 at 12:33

GoogleCodeExporter commented 9 years ago
I have the same results with the following on ubuntu 10.04 64 bit desktop:

ii  googlecl                             0.9.9-1                                
         command-line tool for access to (some) Googl
ii  libgdata-google1.2-1                 2.28.3.1-0ubuntu5                      
         Client library for accessing Google POA thro
ii  libgdata1.2-1                        2.28.3.1-0ubuntu5                      
         Client library for accessing Google POA thro
ii  python-gdata                         1.2.4-0ubuntu2

The odd thing is that if I look at the even using google calendar on my web 
browser (Firefox 3.6) the event shows the wrong time.. but if I issue the 
google cli command to list events for that calendar, it shows up with the right 
time.

Original comment by edja...@gmail.com on 31 Aug 2010 at 1:53

GoogleCodeExporter commented 9 years ago
I found that the calendar in question was set to GMT time instead of my local 
timezone.  Changing that setting resolve this issue.

Original comment by edja...@gmail.com on 31 Aug 2010 at 1:56

GoogleCodeExporter commented 9 years ago
I expected the timezone to be the problem, but being at -5 GMT should be adding 
semi's events at 4pm. Are you NORMALLY -5 GMT, but currently in daylight 
savings time?

Anyway, check the time setting on the offending calendar (In the panel of 
calendars to the left, click on the arrow to the right of the calendar name, go 
to Calendar Settings, and change the setting under Calendar Time Zone). Sorry 
for the delayed response.

Original comment by tom.h.mi...@gmail.com on 31 Aug 2010 at 12:36

GoogleCodeExporter commented 9 years ago
My calendar was set at GMT I have changed it to -5 and I will text it now to 
see if that makes a difference.

Original comment by semi225...@gmail.com on 31 Aug 2010 at 7:20

GoogleCodeExporter commented 9 years ago
Ok it looks like it's working now, it was the Time Zone setting for that 
particular calendar, thanks for the help.

Original comment by semi225...@gmail.com on 31 Aug 2010 at 9:07

GoogleCodeExporter commented 9 years ago
Happy to help! I've added a section under Troubleshooting in the FAQ about this.

Original comment by tom.h.mi...@gmail.com on 1 Sep 2010 at 1:14

GoogleCodeExporter commented 9 years ago
Issue 238 has been merged into this issue.

Original comment by tom.h.mi...@gmail.com on 1 Sep 2010 at 8:04