From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Re: Date Prompt Bug (or Anomoly) Date: Sun, 6 Jun 2010 06:20:47 +0200 Message-ID: <7A899B01-66C7-44BF-929A-9E4EED78BE91@gmail.com> 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> <4C0A8CDA.3000104@ddoherty.net> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=41244 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OL7Lz-0006cF-8j for emacs-orgmode@gnu.org; Sun, 06 Jun 2010 00:20:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OL7Lx-0008VD-Tw for emacs-orgmode@gnu.org; Sun, 06 Jun 2010 00:20:55 -0400 Received: from mail-ew0-f214.google.com ([209.85.219.214]:36593) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OL7Lx-0008V8-P1 for emacs-orgmode@gnu.org; Sun, 06 Jun 2010 00:20:53 -0400 Received: by ewy6 with SMTP id 6so1457016ewy.32 for ; Sat, 05 Jun 2010 21:20:51 -0700 (PDT) In-Reply-To: <4C0A8CDA.3000104@ddoherty.net> 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: "Daniel E. Doherty" Cc: emacs-orgmode@gnu.org 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. >>> 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 - Carsten