emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [bug] org-agenda-write does not handle date stamps without day o


From: Carsten Dominik
Subject: Re: [O] [bug] org-agenda-write does not handle date stamps without day of week
Date: Mon, 19 Mar 2012 10:13:18 +0100

On 17.3.2012, at 15:04, Simon Thum wrote:

> Hi Karl,
> 
> why don't you add something like an "xx" day which will probably please 
> org-mode - in my tests org ignored the weekday.

Yes, the weekday is only expected, but never used, so writing "xxx"
would work.  However, see my other mail for another proposal
along Nick's lines of argument.

- Carsten


> I concluded it's there for viewing convenience, and editing (C-.) always got 
> me the right DOW.
> 
> I don't use org2ical, however.
> 
> Cheers,
> 
> Simon
> 
> 
> On 03/05/2012 03:44 PM, Karl Voit wrote:
>> Hi!
>> 
>> 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!
>> 
> 
> 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]