emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Daniel E. Doherty" <ddoherty03@gmail.com>
To: emacs-orgmode@gnu.org
Cc: Carsten Dominik <carsten.dominik@gmail.com>
Subject: Re: Re: Date Prompt Bug (or Anomoly)
Date: Sat, 05 Jun 2010 12:43:54 -0500	[thread overview]
Message-ID: <4C0A8CDA.3000104@ddoherty.net> (raw)
In-Reply-To: <0C1D8B23-6AC5-4BC5-806F-43CEE66ECED9@gmail.com>

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.
>> Emacs-orgmode@gnu.org
>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
> - Carsten
>
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

  parent reply	other threads:[~2010-06-05 17:44 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-01 17:41 Date Prompt Bug (or Anomoly) Daniel E. Doherty
2010-06-04  8:47 ` Noorul Islam K M
2010-06-04  8:48   ` Noorul Islam K M
2010-06-04  9:39     ` Mikael Fornius
2010-06-04 11:00       ` Carsten Dominik
2010-06-04 15:16         ` Daniel E. Doherty
2010-06-05 17:43         ` Daniel E. Doherty [this message]
2010-06-06  4:20           ` Carsten Dominik
2010-06-08 20:45             ` Daniel E. Doherty
2010-06-08 22:27               ` Nick Dokos
2010-06-09  8:31                 ` Daniel E. Doherty
2010-06-08 22:28               ` 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=4C0A8CDA.3000104@ddoherty.net \
    --to=ddoherty03@gmail.com \
    --cc=carsten.dominik@gmail.com \
    --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).