From: Carsten Dominik <carsten.dominik@gmail.com>
To: Memnon Anon <gegendosenfleisch@googlemail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Re: Date calculations
Date: Fri, 1 Jan 2010 11:32:20 +0100 [thread overview]
Message-ID: <D7122EB3-55BB-4A99-B27E-BDD456150854@gmail.com> (raw)
In-Reply-To: <87my10kxlh.fsf@mean.albasani.net>
On Dec 30, 2009, at 9:37 PM, Memnon Anon wrote:
> Carsten Dominik <carsten.dominik@gmail.com> writes:
>
>> can you point out exactly where in the documentation this is located?
>
> ,----[ (info "(org)Weekly/daily agenda") ]
> | * Birthdays and similar stuff
> | #+CATEGORY: Holiday
> | %%(org-calendar-holiday) ; special function for holiday names
> | #+CATEGORY: Ann
> | %%(diary-anniversary 14 5 1956) Arthur Dent is %d years old
> | %%(diary-anniversary 2 10 1869) Mahatma Gandhi would be %d
> years old
> `----
>
> These examples suggest D-M-Y, which only seems to work with the
> calendar
> set to european style. Maybe, it would be better to change the example
> to M-D-Y (I think it is more common?) and add a footnote that provides
> the info that the date format is depending on calendar-date-style?
>
> The next paragraph (Anniversaries from BBDB) on the other hand
> states a
> fixed order.
>> Basically, you need to press `C-o anniversary <RET>' with the
>> cursor in
>> a BBDB record and then add the date in the format `YYYY-MM-DD',
>> [...]
>> 1973-06-22
>> 1955-08-02 wedding
>> 2008-04-14 %s released version 6.01 of org-mode, %d years ago
>
> So, if I understand it correctly, org-bbdb settled on iso format,
> diary-anniversary uses either american or european style depending on
> calendar-date-style.
>
> Thats somehow inconsistent, isn't it?
Hi Memnon,
Org-mode consistently uses ISO format, I believe. I chose it
precisely in order
to make sure there could be no misunderstanding in what these dates
mean.
I cannot change the behavior of the calendar functions....
- Carsten
prev parent reply other threads:[~2010-01-01 10:32 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
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 [this message]
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=D7122EB3-55BB-4A99-B27E-BDD456150854@gmail.com \
--to=carsten.dominik@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=gegendosenfleisch@googlemail.com \
/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).