emacs-orgmode
[Top][All Lists]
Advanced

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

[Orgmode] Re: Date calculations


From: Benjamin Andresen
Subject: [Orgmode] Re: Date calculations
Date: Wed, 30 Dec 2009 16:43:35 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.90 (gnu/linux)

Hey Carsten,

Carsten Dominik <address@hidden> writes:

> On Dec 30, 2009, at 3:21 PM, Benjamin Andresen wrote:
>
>> Hey,
>>
>> Benjamin Andresen <address@hidden> writes:
>>
>>> I used to do it the way it was done in the manual:
>>>
>>> (info "(org)Weekly/daily agenda")
>>> under Calendar/Diary integration
>>>
>>>     %%(diary-anniversary 14  5 1956) Arthur Dent is %d years old
>
> Hi Benjamin,
>
> currently these lines must be all the way at the left margin, they
> cannot be indented.

I'm sorry for that line, it was ambiguous. I meant to indent it for
clarity, not to represent how it's indented in my file.

I have found the culprit though.

This works:
%%(diary-anniversary 12 30 1984) Arthur Dent is %d years
                     ^   ^   ^
                     M   D   Y
This doesn't:
%%(diary-anniversary 30 12 1984) Arthur Dent is %d years
                     ^   ^   ^
                     D   M   Y

This isn't affected by any locale setting on my end.

I tried en_GB, de_DE and en_US and it will always choose the US M/D/Y
format in the org-mode file. That runs counter to the documentation
example cited above, so does anyone else see that?

>
> - Carsten

br,
benny




reply via email to

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