unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Yoni Rabkin Katzenell <yoni-r@actcom.com>
Subject: Re: date parsing
Date: Tue, 10 Aug 2004 23:15:12 +0300	[thread overview]
Message-ID: <m3zn523g33.fsf@jrwork.burla> (raw)
In-Reply-To: mailman.682.1092155793.2011.help-gnu-emacs@gnu.org


Thanks, but I think I'll stick to changes that will not disappear next
time I compile Emacs.

Modifying the functions from the calendar dir was is still my last
resort. As for checking that parse-time is really ok, the real test
would be to encode that value that parse-time gives you and then decode
it back to a string and see that they match.

I'll quote from time-date.el:

              ;; `parse-time-string' isn't sufficiently general or
	      ;; robust.  It fails to grok some of the formats that
	      ;; timezone does (e.g. dodgy post-2000 stuff from some
	      ;; Elms) and either fails or returns bogus values.  Lars
	      ;; reverted this change, but that loses non-trivially
	      ;; often for me.  -- fx

Nevertheless, thank you for the cool idea and the time you took to
promptly reply.

-- 
"Cut your own wood and it will warm you twice"
	Regards, Yoni Rabkin Katzenell

      parent reply	other threads:[~2004-08-10 20:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-10 15:18 date parsing Yoni Rabkin Katzenell
2004-08-10 16:32 ` Ehud Karni
2004-08-10 16:45   ` Ehud Karni
     [not found] ` <mailman.682.1092155793.2011.help-gnu-emacs@gnu.org>
2004-08-10 20:15   ` Yoni Rabkin Katzenell [this message]

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.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3zn523g33.fsf@jrwork.burla \
    --to=yoni-r@actcom.com \
    /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.
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).