From mboxrd@z Thu Jan 1 00:00:00 1970 From: Karl Voit Subject: Re: [bug] org-agenda-write does not handle date stamps without day of week Date: Fri, 16 Mar 2012 17:14:06 +0100 Message-ID: <2012-03-16T17-12-15@devnull.Karl-Voit.at> References: <2012-03-05T15-36-35@devnull.Karl-Voit.at> Reply-To: news1142@Karl-Voit.at Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:38526) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S8Znl-0003l2-Mt for emacs-orgmode@gnu.org; Fri, 16 Mar 2012 12:14:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S8ZnO-0005Bn-4l for emacs-orgmode@gnu.org; Fri, 16 Mar 2012 12:14:49 -0400 Received: from plane.gmane.org ([80.91.229.3]:35602) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S8ZnN-0005BZ-UC for emacs-orgmode@gnu.org; Fri, 16 Mar 2012 12:14:26 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1S8ZnJ-0005WB-BZ for emacs-orgmode@gnu.org; Fri, 16 Mar 2012 17:14:21 +0100 Received: from mail.michael-prokop.at ([88.198.6.110]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 16 Mar 2012 17:14:21 +0100 Received: from news1142 by mail.michael-prokop.at with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 16 Mar 2012 17:14:21 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Since no followup reaction occured: is this a but that requires much work? Or did my email just got lost in overfull inboxes? :-) * Karl Voit wrote: > > I verified the behavior below with the most current git version of > Org-mode. > > Whenever I call my function to export the current agenda, it > «converts» events that do have a beginning and end time to events > that span the whole day (without begin and end times at all). > > ,----[ my LISP command to export ] >| (defun vk-export-agenda() >| "Exports monthly Org-mode agenda to agenda.ics file" >| (interactive) >| (org-agenda-list nil nil 60) >| (org-agenda-write "~/org/agenda.ics") >| ) > `---- > > I traced down the problem to this: > > * <2012-03-05 Mon 08:00-09:00> works fine > * <2012-03-05 Mon 8:00-9:00> works fine too > > * <2012-03-05 08:00-09:00> Wrong: ends up as full day event > > Unfortunately, I do have certain mechanisms that generate parts of > my Org-mode files where I skip the day of the week. Org-mode in > general is able to handle date stamps without day of week pretty > well. But whenever I export it to ics (in order to send it to > Google), I end up with a messed up online agenda. > > I guess that org-agenda-write is the one to blame. It would be very > handy to me if somebody could fix that issue. > > Let me know, if you need any further information! > > Thank you very much! -- Karl Voit