From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#641: format-time-string %Z does not work, starting with Emacs 22.2 Date: Thu, 07 Aug 2008 21:20:33 +0300 Message-ID: References: <4897737C.90709@gmx.at> <001501c8f67e$7c63b300$0200a8c0@us.oracle.com> <008601c8f756$9bce0f00$0200a8c0@us.oracle.com> <00a001c8f786$fa665d30$0200a8c0@us.oracle.com> <86skthj4yf.fsf@lifelogs.com> <86fxphgdw1.fsf@lifelogs.com> Reply-To: Eli Zaretskii , 641@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1218134953 17869 80.91.229.12 (7 Aug 2008 18:49:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 7 Aug 2008 18:49:13 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org To: Ted Zlatanov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Aug 07 20:50:04 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 1KRAYX-0006ep-9p for geb-bug-gnu-emacs@m.gmane.org; Thu, 07 Aug 2008 20:49:49 +0200 Original-Received: from localhost ([127.0.0.1]:47338 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KRAXb-00037y-SW for geb-bug-gnu-emacs@m.gmane.org; Thu, 07 Aug 2008 14:48:51 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KRAWM-00025l-KS for bug-gnu-emacs@gnu.org; Thu, 07 Aug 2008 14:47:34 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KRAWK-000242-MF for bug-gnu-emacs@gnu.org; Thu, 07 Aug 2008 14:47:34 -0400 Original-Received: from [199.232.76.173] (port=58617 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KRAWK-00023u-FF for bug-gnu-emacs@gnu.org; Thu, 07 Aug 2008 14:47:32 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:45935) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KRAWK-0005dt-2O for bug-gnu-emacs@gnu.org; Thu, 07 Aug 2008 14:47:32 -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 m77IlNv8013641; Thu, 7 Aug 2008 11:47:23 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m77IU3HS007990; Thu, 7 Aug 2008 11:30:03 -0700 X-Loop: don@donarmstrong.com Resent-From: Eli Zaretskii Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs , don@donarmstrong.com Resent-Date: Thu, 07 Aug 2008 18:30:03 +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.12181332406049 (code B ref -1); Thu, 07 Aug 2008 18:30:03 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 7 Aug 2008 18:20:40 +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 m77IKaDk006042 for ; Thu, 7 Aug 2008 11:20:37 -0700 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KRA6G-0008Ls-4Q for bug-gnu-emacs@gnu.org; Thu, 07 Aug 2008 14:20:36 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KRA6F-0008L5-Di for bug-gnu-emacs@gnu.org; Thu, 07 Aug 2008 14:20:35 -0400 Original-Received: from [199.232.76.173] (port=33411 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KRA6F-0008Kr-7Z for bug-gnu-emacs@gnu.org; Thu, 07 Aug 2008 14:20:35 -0400 Original-Received: from mtaout6.012.net.il ([84.95.2.16]:48935) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KRA6E-0000kj-Tq for bug-gnu-emacs@gnu.org; Thu, 07 Aug 2008 14:20:35 -0400 Original-Received: from HOME-C4E4A596F7 ([77.126.62.79]) by i-mtaout6.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0K58009JTTMOZGI0@i-mtaout6.012.net.il> for bug-gnu-emacs@gnu.org; Thu, 07 Aug 2008 21:20:49 +0300 (IDT) In-reply-to: <86fxphgdw1.fsf@lifelogs.com> X-012-Sender: halo1@inter.net.il X-detected-kernel: by monty-python.gnu.org: Solaris 10 (1203?) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Resent-Date: Thu, 07 Aug 2008 14:47:34 -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:19106 Archived-At: > From: Ted Zlatanov > Date: Thu, 07 Aug 2008 08:20:46 -0500 > > We could build a database of known Microsoft timezones and map them to > ISO timezones. It has to be done just once and then updated very > rarely--timezone names don't change often. The full list of timezones > is in > > HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones I already mentioned this possibility in an earlier message here. The problem is that what you actually see in `tzname' could be a localized name, not the US English name. So unless someone finds (or crafts) an exhaustive list of all TZ names both in English and in any localized language to which each one could be translated by Windows, this will work only on some machines.