[LEDE-DEV] [PATCH] base-files: sysfixtime: Allow system time in local timezones
lede at cshore.thecshore.com
Thu Oct 20 13:47:09 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 :-)
Have you ever looked at UCI config for /etc/config/system? There is
the option to set the system timezone there. No need to hack hwclock.
More information about the Lede-dev