From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/84435 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.general Subject: Re: format-time-string (was Re: time format on message citation line) Date: Fri, 11 Apr 2014 18:31:00 +0900 Organization: Emacsen advocacy group Message-ID: References: <87a9c4cre4.fsf@gmail.com> <87ioqq3bac.fsf@gmail.com> <87k3ax2knm.fsf@igel.home> <87mwftf4o4.fsf@ucl.ac.uk> <874n20s2o5.fsf@ucl.ac.uk> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1397208724 16815 80.91.229.3 (11 Apr 2014 09:32:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 11 Apr 2014 09:32:04 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M32681@lists.math.uh.edu Fri Apr 11 11:31:57 2014 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WYXoO-0001SC-4Y for ding-account@gmane.org; Fri, 11 Apr 2014 11:31:52 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1WYXnw-0000qH-76; Fri, 11 Apr 2014 04:31:24 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1WYXnv-0000q5-07 for ding@lists.math.uh.edu; Fri, 11 Apr 2014 04:31:23 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES128-SHA:128) (Exim 4.76) (envelope-from ) id 1WYXnk-0003J0-T7 for ding@lists.math.uh.edu; Fri, 11 Apr 2014 04:31:22 -0500 Original-Received: from hampton-mail.hostforweb.net ([205.234.204.210] helo=hampton.hostforweb.net) by quimby.gnus.org with esmtp (Exim 4.80) (envelope-from ) id 1WYXni-0004Je-V9 for ding@gnus.org; Fri, 11 Apr 2014 11:31:11 +0200 Original-Received: from localhost.localdomain ([127.0.0.1]:52627 helo=localhost) by hampton.hostforweb.net with smtp (Exim 4.80.1) (envelope-from ) id 1WYXnb-002EKg-1o for ding@gnus.org; Fri, 11 Apr 2014 04:31:03 -0500 X-Face: #kKnN,xUnmKia.'[pp`;Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu;B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.13001 (=?iso-2022-jp?B?GyRCPz8bKEI=?= Gnus v0.10) Emacs/24.4.50 (i686-pc-cygwin) Cancel-Lock: sha1:dNUlusbKot87CXSRoLGEEIBjHjg= X-OutGoing-Spam-Status: No, score=-2.9 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - hampton.hostforweb.net X-AntiAbuse: Original Domain - gnus.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Get-Message-Sender-Via: hampton.hostforweb.net: acl_c_authenticated_local_user: yamaoka X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:84435 Archived-At: Eric S Fraga wrote: > On Friday, 11 Apr 2014 at 00:34, Katsumi Yamaoka wrote: >>> But I have a question about the summer time (daylight saving time). >>> Is a computer clock adjusted automatically when the summer time >>> starts and ends? If so, does the return value of (current-time-zone) >>> switch when the day comes? Otherwise, do people who live in such >>> region have to alter the TZ environment variable manually (twice in >>> a year)? > In the UK, on my Linux system, (current-time-zone) returns > (3600 "BST") > The system clock is set to UTC so it is independent of daylight > savings. The time zone information is used to display the right time. Thanks. I learned the time zone handling briefly. Now I believe that the summer time transition will take place automatically if a user set the TZ environment variable suitably. I verified: % TZ=PST8PDT date +%z -0700 % date 01010000 % TZ=PST8PDT date +%z -0800