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: Daniel E. Doherty
Subject: Re: [Orgmode] Re: Date Prompt Bug (or Anomoly)
Date: Sat, 05 Jun 2010 12:43:54 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100423 Thunderbird/3.0.4

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.

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



reply via email to

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