From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.bugs Subject: bug#641: format-time-string %Z does not work, starting with Emacs 22.2 Date: Fri, 8 Aug 2008 10:27:26 -0700 Message-ID: <003301c8f97c$074e6be0$0200a8c0@us.oracle.com> References: <4897737C.90709@gmx.at> <86fxphgdw1.fsf@lifelogs.com> <489B441F.6070402@gmail.com> <489B5792.80504@gmail.com> <489B5CDC.3050902@gmail.com> <489B634C.1040602@gmail.com> <489B69B3.7000502@gmail.com> <86ljz7eefb.fsf@lifelogs.com> <002601c8f96f$6c224350$0200a8c0@us.oracle.com> Reply-To: Drew Adams , 641@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1218217749 23432 80.91.229.12 (8 Aug 2008 17:49:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 8 Aug 2008 17:49:09 +0000 (UTC) Cc: tzz@lifelogs.com, bug-gnu-emacs@gnu.org To: "'Eli Zaretskii'" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Aug 08 19:49:59 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KRW5C-0002tq-TY for geb-bug-gnu-emacs@m.gmane.org; Fri, 08 Aug 2008 19:48:59 +0200 Original-Received: from localhost ([127.0.0.1]:36375 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KRW4C-0007Bf-9j for geb-bug-gnu-emacs@m.gmane.org; Fri, 08 Aug 2008 13:47:56 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KRW46-0007AY-FN for bug-gnu-emacs@gnu.org; Fri, 08 Aug 2008 13:47:50 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KRW42-000799-Pz for bug-gnu-emacs@gnu.org; Fri, 08 Aug 2008 13:47:50 -0400 Original-Received: from [199.232.76.173] (port=50161 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KRW42-000794-Mp for bug-gnu-emacs@gnu.org; Fri, 08 Aug 2008 13:47:46 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:38316) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KRW41-0005E8-D1 for bug-gnu-emacs@gnu.org; Fri, 08 Aug 2008 13:47:45 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m78HlNMU014128; Fri, 8 Aug 2008 10:47:24 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m78HZ5JG010037; Fri, 8 Aug 2008 10:35:05 -0700 X-Loop: don@donarmstrong.com Resent-From: "Drew Adams" Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs , don@donarmstrong.com Resent-Date: Fri, 08 Aug 2008 17:35:05 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 641 X-Emacs-PR-Package: emacs,w32 X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12182164998242 (code B ref -1); Fri, 08 Aug 2008 17:35:05 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 8 Aug 2008 17:28:19 +0000 Original-Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m78HSGwe008236 for ; Fri, 8 Aug 2008 10:28:17 -0700 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KRVl9-0002MN-Ve for bug-gnu-emacs@gnu.org; Fri, 08 Aug 2008 13:28:16 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KRVl8-0002Lx-CM for bug-gnu-emacs@gnu.org; Fri, 08 Aug 2008 13:28:15 -0400 Original-Received: from [199.232.76.173] (port=42351 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KRVl8-0002Li-3j for bug-gnu-emacs@gnu.org; Fri, 08 Aug 2008 13:28:14 -0400 Original-Received: from rgminet01.oracle.com ([148.87.113.118]:17171) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KRVl2-0002ON-Oh; Fri, 08 Aug 2008 13:28:09 -0400 Original-Received: from agmgw2.us.oracle.com (agmgw2.us.oracle.com [152.68.180.213]) by rgminet01.oracle.com (Switch-3.2.4/Switch-3.1.6) with ESMTP id m78HS5Rm021735; Fri, 8 Aug 2008 11:28:05 -0600 Original-Received: from acsmt357.oracle.com (acsmt357.oracle.com [141.146.40.157]) by agmgw2.us.oracle.com (Switch-3.2.0/Switch-3.2.0) with ESMTP id m78FpnKX031086; Fri, 8 Aug 2008 11:28:04 -0600 Original-Received: from inet-141-146-46-1.oracle.com by acsmt355.oracle.com with ESMTP id 11326144101218216443; Fri, 08 Aug 2008 10:27:23 -0700 Original-Received: from dradamslap1 (/69.181.100.12) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 08 Aug 2008 10:27:22 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: Acj5e21LxM3DXTsDQySnyILEazGGkwAAC6og X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 X-Brightmail-Tracker: AAAAAQAAAAI= X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE X-Whitelist: TRUE X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Resent-Date: Fri, 08 Aug 2008 13:47:50 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:19148 Archived-At: > > IOW, we should give users _both_ possibilities > > unambiguously: Posix-only and possibly-non-Posix, > > better-than-nothing, YMMV, human-readable name. > > > > We can do that by introducing a new format key, in addition to %Z. > > I'm okay with having a new format, or with adding a function that > would return a time-zone name that is just a string, not the spec > codified by Posix. (It could return strings like "Asia/Riyadh" on > Posix platforms.) Great. Thanks. Either solution is fine by me. Probably a new format is better for users (keep everything in one place), if there are no other considerations.