Quoting Joey Hess ([EMAIL PROTECTED]):
> Frans Pop wrote:
> > The dialog asking the user whether his system clock is set to local time or
> > GMT currently displays e.g:
> > The hardware clock says the time is now Sat 04 Sep 2004 11:16:20 AM UTC
>
> I can't reproduce this. The command run to get the time is this:
>
> hwclock --show --localtime | awk '{NF-=2; print $0}'
> Mon Sep 6 17:52:01 2004
>
> AfAIK hwclock output never includes the timezone.
I'm afraid it does..:-)
[EMAIL PROTECTED]:~# hwclock --show --localtime | awk '{NF-=2; print $0}'
mar 07 sep 2004 04:58:51 CEST
[EMAIL PROTECTED]:~# LC_ALL=C hwclock --show --localtime | awk '{NF-=2; print $0}'
Tue Sep 7 04:59:18 2004
[EMAIL PROTECTED]:~# LC_ALL=en_US hwclock --show --localtime | awk '{NF-=2; print $0}'
Tue Sep 7 04:59:32 2004
So, this seems to depend on the locale. The format of time is part of
a locale definition.
As a consequence, handling Frans request is very tricky because each
locale may have its special way to display times and thus we cannot
assume a fixed number of part or whatever...or even that the timezone
is displayed last
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]