emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bernt Hansen <bernt@norang.ca>
To: Ian Barton <lists@manor-farm.org>
Cc: emacs-orgmode@gnu.org
Subject: Re: Entering Old Dates in the Date Time Prompt
Date: Mon, 10 Nov 2008 10:05:47 -0500	[thread overview]
Message-ID: <87vduvpqno.fsf@gollum.intra.norang.ca> (raw)
In-Reply-To: <49181A59.4090609@manor-farm.org> (Ian Barton's message of "Mon\, 10 Nov 2008 11\:26\:17 +0000")

Ian Barton <lists@manor-farm.org> writes:

> I am not sure if this counts as a bug. If I try to enter dates before
> 1970 in the prompt it defaults to the current year. I assume that this
> is to do with Unix dates starting in 1970. The reason for doing this
> is to enter some birth dates in org using the prompt.

Hi Ian,

I use the following entries for birthdays and they work great for me.

(Names and dates changed)

,----[ todo.org - tracking birthdays for the agenda ]
| * Birthdays
| %%(diary-anniversary 4 06 1952) Mickey (%d years old)
| %%(diary-anniversary 5 22 1984) Calvin (%d years old)
| %%(diary-anniversary 6 11 1926) Hobbes (%d years old)
`----

,----[ custom.el settings ]
| (custom-set-variables
|  ...
|  '(org-agenda-include-diary t)
|  ...
|  )
`----

-Bernt

      reply	other threads:[~2008-11-10 15:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-10 11:26 Entering Old Dates in the Date Time Prompt Ian Barton
2008-11-10 15:05 ` Bernt Hansen [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=87vduvpqno.fsf@gollum.intra.norang.ca \
    --to=bernt@norang.ca \
    --cc=emacs-orgmode@gnu.org \
    --cc=lists@manor-farm.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).