Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1KSCeP-0000VC-7k for mharc-grub-devel@gnu.org; Sun, 10 Aug 2008 11:16:09 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KSCeO-0000UA-GY for grub-devel@gnu.org; Sun, 10 Aug 2008 11:16:08 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KSCeN-0000S1-3X for grub-devel@gnu.org; Sun, 10 Aug 2008 11:16:08 -0400 Received: from [199.232.76.173] (port=41477 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KSCeM-0000Rt-VE for grub-devel@gnu.org; Sun, 10 Aug 2008 11:16:07 -0400 Received: from mta11.charter.net ([216.33.127.80]:37042) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KSCeN-0003jj-03 for grub-devel@gnu.org; Sun, 10 Aug 2008 11:16:07 -0400 Received: from aarprv06.charter.net ([10.20.200.76]) by mta11.charter.net (InterMail vM.7.08.03.00 201-2186-126-20070710) with ESMTP id <20080810151603.SCCV21239.mta11.charter.net@aarprv06.charter.net> for ; Sun, 10 Aug 2008 11:16:03 -0400 Received: from [192.168.0.102] (really [71.10.234.12]) by aarprv06.charter.net with ESMTP id <20080810151603.HIE570.aarprv06.charter.net@[192.168.0.102]> for ; Sun, 10 Aug 2008 11:16:03 -0400 Message-ID: <489F0629.7040107@isaac.cedarswampstudios.org> Date: Sun, 10 Aug 2008 11:15:53 -0400 From: Isaac Dupree User-Agent: Thunderbird 2.0.0.16 (X11/20080724) MIME-Version: 1.0 To: The development of GRUB 2 References: <20080806195736.GA30755@thorin> <20080807102150.GB23424@thorin> <20080807111714.2b1f36e9@gibibit.com> <20080807191230.GB4413@thorin> <489D7D7D.7080801@isaac.cedarswampstudios.org> <20080810093257.GA19930@thorin> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Chzlrs: 0 X-detected-kernel: by monty-python.gnu.org: Solaris 10 (1203?) Subject: Re: [PATCH] New command checktime X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Aug 2008 15:16:08 -0000 Bean wrote: > On Sun, Aug 10, 2008 at 5:32 PM, Robert Millan wrote: >> It wouldn't be hard to make update-grub gather time zone information from the >> host system and put it in a variable in grub.cfg, or something like that. > > Hi, > > Oh right, but the handling of timezone is not trivial, especially when > it across date boundary. Perhaps we just ignore it for now. also, even if one's computer always stays in the same place, Daylight Savings can change the timezone you're in, while grub.cfg stays the same. What is it that we're doing when we "ignore" it specifically? Assuming local-time and hardware-clock-time are both UTC? (and therefore if the date specifies a timezone, which is specified numerically, convert the time to UTC before doing anything with it) (The above behavior means that if the hardware-clock is actually local time, one could specify the time without a timezone / with timezone Z, and it will work to set the time, despite the incorrect assumptions.) -Isaac