vinitkumar / googlecl

GoogleCL rewrite in __progress__
Other
324 stars 48 forks source link

calendar ignores date of events on non-US calendars #219

Closed vinitkumar closed 10 years ago

vinitkumar commented 10 years ago

From dg2...@googlemail.com on July 05, 2010 17:50:30

What steps will reproduce the problem? 1.With your browser, log in, open calendar, then choose Menu Settings/Calendar settings 2.Change Language, e.g. to "Deutsch" (German) 3.Klick "Save" 4.On command line: google calendar add "Test-Eintrag um 18:00 am 10.07.2010" You can also use 2010-07-10 as date format, and I tried several different formats for mentioning date and time including english and german notations, always with the same result. 5.Refresh calendar. When the current date/time is before 18:00, the event is scheduled for this day, when you're past 18:00, it's scheduled for the next day. Title ist "Test-Eintrag am 10.07.2010". What is the expected output? What do you see instead? The event should be sheduled for the given date, removing the date from the event title, so "Test-Eintrag" should be sheduled for 2010-07-10 6pm. What version of the product are you using? On what operating system? What version of gdata-python-client (aka python-gdata)? googlecl_0.9.8-1_all.deb, python-gdata 1.2.4-0ubuntu2 with Ubuntu 10.04

Original issue: http://code.google.com/p/googlecl/issues/detail?id=211

vinitkumar commented 10 years ago

From tom.h.mi...@gmail.com on July 08, 2010 19:28:44

Interesting... I'm not sure if Quick Add (the workhorse behind this functionality) is supported for non-English languages -- there's nothing mentioned in the API docs, and the quick-add link disappears when I change my calendar language.

I'm guessing this is impossible for me to fix, but I'll leave it open in the hopes that someone comes along and corrects me. You may want to poke around some more and see what you find.

Status: Accepted

vinitkumar commented 10 years ago

From roland.e...@gmail.com on October 04, 2010 09:22:38

The Quick Add functionality is currently not supported for languages other than English.

As a workaround, I tried

google calendar add --date=2010-10-08 "Foobar" google calendar add --date=2010-10-08 "Foobar um 19:00 Uhr"

Results are similiar as with the original poster. It seems impossible to add an event to a specific date.

vinitkumar commented 10 years ago

From tom.h.mi...@gmail.com on October 04, 2010 12:59:44

The --date option is only used for restricting events retrieved by GoogleCL for delete and list. If you'd like, star issue 72 to show you want this enabled.

I'm going to mark this WontFix, since it looks like I can't fix it. But issue 72 and/or issue 198 will indirectly solve this problem.

Status: WontFix

vinitkumar commented 10 years ago

From roland.e...@gmail.com on October 04, 2010 13:47:07

Thanks for your reply, fair enough. For now, it is only possible to add future events by changing the calendar language to English. Afterwards, the Quick Add parser works fine. Maybe some kind of notice on this one would be good in the wiki pages, took me a while figuring this one out.

vinitkumar commented 10 years ago

From tom.h.mi...@gmail.com on October 04, 2010 17:14:37

Added a note in the Calendar section of the Manual wiki page.

vinitkumar commented 10 years ago

From tom.h.mi...@gmail.com on October 10, 2010 12:16:34

Issue 312 has been merged into this issue.