From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Jason Rumney Newsgroups: gmane.emacs.devel Subject: Re: Bug in format-time-string in emacs 21.1? Date: 12 Mar 2002 22:56:44 +0000 Sender: emacs-devel-admin@gnu.org Message-ID: References: <200203122221.g2CMLEX10014@shade.twinsun.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1015974039 1798 80.91.224.249 (12 Mar 2002 23:00:39 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 12 Mar 2002 23:00:39 +0000 (UTC) Cc: emacs-devel@gnu.org Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 16kvG2-0000St-00 for ; Wed, 13 Mar 2002 00:00:38 +0100 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 16kvIP-0008SQ-00 for ; Wed, 13 Mar 2002 00:03:05 +0100 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16kvFa-0005Mi-00; Tue, 12 Mar 2002 18:00:10 -0500 Original-Received: from rhenium.btinternet.com ([194.73.73.93]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16kvCp-0005Hq-00 for ; Tue, 12 Mar 2002 17:57:19 -0500 Original-Received: from host62-7-13-36.in-addr.btopenworld.com ([62.7.13.36] helo=nyaumo.btinternet.com) by rhenium.btinternet.com with esmtp (Exim 3.22 #8) id 16kvCg-0002SP-00; Tue, 12 Mar 2002 22:57:11 +0000 Original-Received: from nyaumo.btinternet.com (localhost [127.0.0.1]) by nyaumo.btinternet.com (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) with ESMTP id WAA00561; Tue, 12 Mar 2002 22:56:45 GMT Original-To: Paul Eggert In-Reply-To: <200203122221.g2CMLEX10014@shade.twinsun.com> Original-Lines: 19 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:1895 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:1895 Paul Eggert 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