|
From: | Isaac Dupree |
Subject: | Re: [PATCH] New command checktime |
Date: | Sun, 10 Aug 2008 11:15:53 -0400 |
User-agent: | Thunderbird 2.0.0.16 (X11/20080724) |
Bean wrote:
On Sun, Aug 10, 2008 at 5:32 PM, Robert Millan <address@hidden> 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
[Prev in Thread] | Current Thread | [Next in Thread] |