From mboxrd@z Thu Jan 1 00:00:00 1970 From: Benjamin Andresen Subject: Re: Date calculations Date: Wed, 30 Dec 2009 16:43:35 +0100 Message-ID: <87eimctql4.fsf@in-ulm.de> References: <6DC4A9FE-BA1F-4106-87D7-29985BF09116@jumans.net> <87r5qctxn8.fsf@in-ulm.de> <87k4w4tue9.fsf@in-ulm.de> <30298530-9D3B-4FFA-8A92-9551AABCE09D@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NQ0i6-0006I5-EW for emacs-orgmode@gnu.org; Wed, 30 Dec 2009 10:43:42 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NQ0i2-0006Fz-33 for emacs-orgmode@gnu.org; Wed, 30 Dec 2009 10:43:42 -0500 Received: from [199.232.76.173] (port=48119 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NQ0i1-0006Fw-TV for emacs-orgmode@gnu.org; Wed, 30 Dec 2009 10:43:37 -0500 Received: from mail.in-ulm.de ([217.10.8.10]:38614) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1NQ0i1-0005OR-9q for emacs-orgmode@gnu.org; Wed, 30 Dec 2009 10:43:37 -0500 In-Reply-To: <30298530-9D3B-4FFA-8A92-9551AABCE09D@gmail.com> (Carsten Dominik's message of "Wed, 30 Dec 2009 16:27:57 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hey Carsten, Carsten Dominik writes: > On Dec 30, 2009, at 3:21 PM, Benjamin Andresen wrote: > >> Hey, >> >> Benjamin Andresen 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