From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Daniel E. Doherty" Subject: Re: Re: Date Prompt Bug (or Anomoly) Date: Sat, 05 Jun 2010 12:43:54 -0500 Message-ID: <4C0A8CDA.3000104@ddoherty.net> References: <876322hcps.wl%ded-law@ddoherty.net> <87k4qfp4ky.fsf@noorul.maa.corp.collab.net> <87fx13p4i5.fsf@noorul.maa.corp.collab.net> <87k4qfuoex.fsf@eee.lan> <0C1D8B23-6AC5-4BC5-806F-43CEE66ECED9@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=47388 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OKxPm-0007pL-3D for emacs-orgmode@gnu.org; Sat, 05 Jun 2010 13:44:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OKxPl-00034Z-6B for emacs-orgmode@gnu.org; Sat, 05 Jun 2010 13:44:09 -0400 Received: from mail-vw0-f41.google.com ([209.85.212.41]:52137) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OKxPl-00034S-3c for emacs-orgmode@gnu.org; Sat, 05 Jun 2010 13:44:09 -0400 Received: by vws13 with SMTP id 13so3320449vws.0 for ; Sat, 05 Jun 2010 10:44:08 -0700 (PDT) In-Reply-To: <0C1D8B23-6AC5-4BC5-806F-43CEE66ECED9@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Cc: Carsten Dominik 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