All of lore.kernel.org
 help / color / mirror / Atom feed
From: Isaac Dupree <id@isaac.cedarswampstudios.org>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: [PATCH] New command checktime
Date: Sun, 10 Aug 2008 11:15:53 -0400	[thread overview]
Message-ID: <489F0629.7040107@isaac.cedarswampstudios.org> (raw)
In-Reply-To: <ca0f59980808100410s1f963ab3kb96300fcd9e88a04@mail.gmail.com>

Bean wrote:
> On Sun, Aug 10, 2008 at 5:32 PM, Robert Millan <rmh@aybabtu.com> 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



  reply	other threads:[~2008-08-10 15:16 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-06 11:02 [PATCH] New command checktime Bean
2008-08-06 11:35 ` Robert Millan
2008-08-06 15:09   ` Bean
2008-08-06 19:57     ` Robert Millan
2008-08-07  8:05       ` Bean
2008-08-07 10:21         ` Robert Millan
2008-08-07 11:19           ` Bean
2008-08-07 17:52             ` Bean
2008-08-07 18:17               ` Colin D Bennett
2008-08-07 19:12                 ` Robert Millan
2008-08-09  4:34                   ` Bean
2008-08-09 11:20                     ` Isaac Dupree
2008-08-09 11:37                       ` Bean
2008-08-10  9:32                         ` Robert Millan
2008-08-10 11:10                           ` Bean
2008-08-10 15:15                             ` Isaac Dupree [this message]
2008-08-10 17:22                               ` Robert Millan
2008-08-07 19:06               ` Robert Millan
2008-08-10 18:04 ` Marco Gerards
2008-08-11 11:06   ` Bean
2008-08-11 14:18     ` Robert Millan
2008-08-11 21:07     ` Marco Gerards
2008-08-12 17:13       ` Bean
2008-08-12 21:49         ` Marco Gerards
2008-08-13  1:46           ` Bean
2008-08-13  3:26             ` Bean
2008-08-13 10:17             ` Marco Gerards
2008-08-15 15:38               ` Bean

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=489F0629.7040107@isaac.cedarswampstudios.org \
    --to=id@isaac.cedarswampstudios.org \
    --cc=grub-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.