emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [Orgmode] Re: Date Prompt Bug (or Anomoly)


From: Carsten Dominik
Subject: Re: [Orgmode] Re: Date Prompt Bug (or Anomoly)
Date: Sun, 6 Jun 2010 06:20:47 +0200


On Jun 5, 2010, at 7:43 PM, Daniel E. Doherty wrote:

Carsten,

I pulled the latest git, and it looks like "3/21" and "5/21" work as expected. But when I put in "7/21", a date in the near future, it is interpreting it a "2021-07-21" rather than the "2010-07-21" that one would expect.

I cannot reproduce this.

- Carsten


Regards,

====================================================
Daniel E. Doherty
7300 W. 110th Street, Suite 930
Overland Park, KS 66210
913.338.7182 (Phone)
913,338.7164 (FAX)

Up the airy mountain,
Down the rushy glen,
We daren't go a-hunting,
For fear of little men.
         --- William Allingham (Donegal, Ireland)

On 06/04/2010 06:00 AM, Carsten Dominik wrote:

On Jun 4, 2010, at 11:39 AM, Mikael Fornius wrote:


I do not know what version your info reference is but my latest
git-versions info page documents the usage of 2/5 date format.

Indeed. This was a but in the special regexp looking for
american-style dates - I had the parts for day and month the
wrong way round.

Should be fixed now.

Thanks to Daniel for the report, and to everyone else for following up.

- Carsten


(info "(org) The date/time prompt")

Then the info page is wrong and the docstring to `org-read-date' states:

"The prompt will suggest to enter an ISO date, but you can also enter
anything which will at least partially be understood by
`parse-time-string'."

What `parse-time-string' understands I can not find well documented and it may be a bug or something there but who knows where its behavior is
documented?

(I get the same wrong result in my date prompt when trying 5/21.

Org-mode version 6.36trans (release_6.36.154.g6bad)
GNU Emacs 24.0.50.2 (i686-pc-linux-gnu, GTK+ Version 2.20.1) of
2010-06-01 on eee)

--
Mikael Fornius

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

- Carsten




_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

- Carsten






reply via email to

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