blackcyber99 / googlecl

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

Added calendar entries are one day off. #404

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I've installed GoogleCL-svn via paktahn on Arch Linux (x86_64),
I'm using python 2.7.2 anf python-gdata 2.0.14-1.

Whenever I add a calendar entry, the entry appears a day before the date I 
specified. If I add an entry with '--date 2011-07-01', the entry appears at the 
date '2011-06-30'!

Original issue reported on code.google.com by CHS2...@gmail.com on 4 Jul 2011 at 10:08

GoogleCodeExporter commented 8 years ago
I see this issue too.

Original comment by petru.severin on 28 Aug 2012 at 4:33

GoogleCodeExporter commented 8 years ago
The error depends on locales configuration. If the timezone is something like 
mine (which is UTC+1) then the `--date "2012-12-30"` is converted to datetime 
in UTC timezone, so it changes from `2012-12-30 00:00:00` to `2012-12-29 
23:00:00`, and the event is created for time range: `(2012-12-29 00:00:00, 
2012-12-30 00:00:00)`.

Original comment by szy...@endpoint.com on 30 Dec 2012 at 6:15

GoogleCodeExporter commented 8 years ago
This issue was closed by revision r621.

Original comment by szy...@endpoint.com on 30 Dec 2012 at 6:16