From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jason Rumney Newsgroups: gmane.emacs.devel,gmane.emacs.windows Subject: Re: format-time-string (was Emacs 22.2.92 pretest) Date: Wed, 03 Sep 2008 12:05:20 +0800 Message-ID: <48BE0D00.9060909@gnu.org> References: <871w029n5c.fsf@cyd.mit.edu> <48BDF251.90405@gnu.org> <20080903.120436.213798921.kazu@iij.ad.jp> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1220414786 11296 80.91.229.12 (3 Sep 2008 04:06:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 3 Sep 2008 04:06:26 +0000 (UTC) Cc: help-emacs-windows@gnu.org, emacs-devel@gnu.org To: =?UTF-8?B?IkthenUgWWFtYW1vdG8gKOWxseacrOWSjOW9piki?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Sep 03 06:07:21 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KajeK-0007QY-Sn for ged-emacs-devel@m.gmane.org; Wed, 03 Sep 2008 06:07:21 +0200 Original-Received: from localhost ([127.0.0.1]:43633 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KajdL-0001Dc-PS for ged-emacs-devel@m.gmane.org; Wed, 03 Sep 2008 00:06:19 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KajdE-0001AG-Ks for emacs-devel@gnu.org; Wed, 03 Sep 2008 00:06:12 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KajdB-00016a-4B for emacs-devel@gnu.org; Wed, 03 Sep 2008 00:06:10 -0400 Original-Received: from [199.232.76.173] (port=33290 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KajdB-00016F-0G; Wed, 03 Sep 2008 00:06:09 -0400 Original-Received: from mk-outboundfilter-6-a-2.mail.uk.tiscali.com ([212.74.114.16]:52928) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Kajd9-00050U-OS; Wed, 03 Sep 2008 00:06:08 -0400 Original-X-Trace: 22105256/mk-outboundfilter-6.mail.uk.tiscali.com/F2S/$F2S-INTERNET-ACCEPTED/None/61.4.103.130 X-SBRS: None X-RemoteIP: 61.4.103.130 X-IP-MAIL-FROM: jasonr@gnu.org X-IP-BHB: Once X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AuoAADCqvUg9BGeC/2dsb2JhbAAItQKBaQ X-IronPort-AV: E=Sophos;i="4.32,320,1217804400"; d="scan'208";a="22105256" X-IP-Direction: OUT Original-Received: from unknown (HELO [10.1.1.133]) ([61.4.103.130]) by smtp.f2s.tiscali.co.uk with ESMTP; 03 Sep 2008 05:06:04 +0100 User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) In-Reply-To: <20080903.120436.213798921.kazu@iij.ad.jp> X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:103481 gmane.emacs.windows:4036 Archived-At: > In Japanese environment, this should return "JST". > On Windows, that has never been the case unless you explicitly set the TZ environment variable to JST. > Some mailreaders on Emacs use this function to produce the Date: > field. Those mailreaders already have a bug if they do that. RFC 822 only allowed a small subset of timezone abbreviations (US timezones and GMT, plus single character Milatary designations that I've never seen in real use), and its successor RFC 2822 makes even these obsolete, requiring numeric timezone specifiers in all cases.