all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jason Rumney <jasonr@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Bug in format-time-string in emacs 21.1?
Date: 12 Mar 2002 22:56:44 +0000	[thread overview]
Message-ID: <m3d6y9cs43.fsf@nyaumo.btinternet.com> (raw)
In-Reply-To: <200203122221.g2CMLEX10014@shade.twinsun.com>

Paul Eggert <eggert@twinsun.com> writes:

> > Alternatively, we could introduce more conditional blocks to
> > strftime.c to do something sensible
> 
> That would be a pain to support reliably.  There are lots of little
> gotchas in this area.  It's simpler just to let the underlying
> strftime handle (or mishandle) locale-related stuff.

That was my initial impression after reading the code in
strftime.c.  But after experimenting with all the documented format
specifiers, it seems that "%h" is the only one that does not work with
the current code, so some effort has obviously already been made to
make the other specifiers that are not supported by the system
strftime function work.  In the case of "%h", it is documented as
doing the same as "%b", so we can fix that easily.

-- 
Jason Rumney


_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/emacs-devel


  reply	other threads:[~2002-03-12 22:56 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <Pine.SUN.3.91.1020312075746.24908F-100000@is>
     [not found] ` <m3n0xep8u8.fsf@Janik.cz>
2002-03-12 21:35   ` Bug in format-time-string in emacs 21.1? Jason Rumney
2002-03-12 22:21     ` Paul Eggert
2002-03-12 22:56       ` Jason Rumney [this message]
2002-03-12 23:37         ` Paul Eggert
2002-03-13 19:49           ` Jason Rumney
2002-03-14  0:37             ` Paul Eggert
2002-03-13 10:59     ` Richard Stallman
2002-03-13 22:13       ` Jason Rumney
2002-03-14  0:13         ` Paul Eggert
2002-03-14 22:28           ` Jason Rumney

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

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

  git send-email \
    --in-reply-to=m3d6y9cs43.fsf@nyaumo.btinternet.com \
    --to=jasonr@gnu.org \
    --cc=emacs-devel@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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.