emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Benjamin Andresen <benny@in-ulm.de>
To: emacs-orgmode@gnu.org
Subject: Re: Date calculations
Date: Wed, 30 Dec 2009 16:43:35 +0100	[thread overview]
Message-ID: <87eimctql4.fsf@in-ulm.de> (raw)
In-Reply-To: <30298530-9D3B-4FFA-8A92-9551AABCE09D@gmail.com> (Carsten Dominik's message of "Wed, 30 Dec 2009 16:27:57 +0100")

Hey Carsten,

Carsten Dominik <carsten.dominik@gmail.com> writes:

> On Dec 30, 2009, at 3:21 PM, Benjamin Andresen wrote:
>
>> Hey,
>>
>> Benjamin Andresen <benny@in-ulm.de> 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	other threads:[~2009-12-30 15:43 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-30 12:47 Date calculations Fredrik
2009-12-30 13:08 ` Fredrik
2009-12-30 13:09 ` Ian Barton
2009-12-30 13:11 ` Benjamin Andresen
2009-12-30 14:21   ` Benjamin Andresen
2009-12-30 15:05     ` Memnon Anon
2009-12-30 15:27     ` Carsten Dominik
2009-12-30 15:43       ` Benjamin Andresen [this message]
2009-12-30 15:58         ` Memnon Anon
2009-12-30 16:08           ` Benjamin Andresen
2009-12-30 19:21             ` Carsten Dominik
2009-12-30 19:51               ` Benjamin Andresen
2009-12-30 22:41                 ` Carsten Dominik
2009-12-30 20:37               ` Memnon Anon
2009-12-30 22:46                 ` Ben Finney
2010-01-01 10:32                 ` Carsten Dominik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87eimctql4.fsf@in-ulm.de \
    --to=benny@in-ulm.de \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).