[LEDE-DEV] [PATCH] base-files: sysfixtime: Allow system time in local timezones

Daniel Dickinson lede at cshore.thecshore.com
Thu Oct 20 13:49:48 PDT 2016


On Wed, 19 Oct 2016 22:05:43 +0200
Petr Štetiar <ynezz at true.cz> wrote:

> Felix Fietkau <nbd at nbd.name> [2016-10-19 21:44:06]:
> 
> > I'd like to know why you need to use local time for the RTC, I think
> > that's rather uncommon.  
> 
> You mean system time in local time, right? RTC should be in UTC and
> in current sysftime isn't. Basically sysfixtime should be using
> hwclock with -u parameter from the same beginning as the kernel
> doesn't expect time in RTC to be in other timezone.
> 
> Believe it or not, I've some users which are used to have system time
> on their desktop Linux machines in local timezone and they expect the
> same from the Linux on embedded devices. It's hard, I know :-)

I don't see wanting an embedded system to be like a desktop to be a
reasonable justification.  It doesn't serve any useful purpose that I
can see.  Also with there is daylight savings then when daylight
savings kicks in you've got to change the clock which is *ugly* and
waste of resources on an embedded device.

Regards,

Daniel



More information about the Lede-dev mailing list