[PATCH 18/19] date: add a date -k flag

Rich Felker dalias at aerifal.cx
Sun Sep 30 23:48:31 UTC 2012


On Sun, Sep 30, 2012 at 08:57:58AM +0200, Denys Vlasenko wrote:
> On Tue, Sep 25, 2012 at 2:06 PM, Florian Fainelli <florian at alphacore.org> wrote:
> > From: Jo-Philipp Wich <jow at openwrt.org>
> >
> > Allows us to set the kernel timezone from current localtime utc offset.
> 
> date from coreutils has no such option.
> Introducing incompatibility is not a good idea.
> 
> How would you set kernel timezone on a machine with
> typical desktop set of tools?

I believe hwclock does it, whether you want it or not. In my opinion,
this is really harmful, because the kernel timezone messes up
timestamps in FAT filesystems - it offsets them by the timezone, so
timestamps become inconsistent if you access the same FAT devices from
multiple timezones, or even from multiple devices in the same place
configured for different timezones.

Rich


More information about the busybox mailing list