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

Felix Fietkau nbd at nbd.name
Wed Oct 19 12:44:06 PDT 2016

On 2016-10-19 21:38, Petr Štetiar wrote:
> Felix Fietkau <nbd at nbd.name> [2016-10-18 23:25:40]:
>> On 2016-10-18 23:11, Petr Štetiar wrote:
>> > Currently we're forced to have system time in the UTC timezone as
>> > hardware clock, mainly because kernel expects in rtc_hctosys(), that RTC
>> > time is held in UTC timezone.
>> > 
>> > With this patch one can now have local system time for example in CEST
>> > timezone and RTC time still in UTC with boolean config option `rtc_utc`.
>> > 
>> Why?
> Would this be a better commit message?
> I'm using devices which have battery backed RTC. Sometime I need to use local
> timezone for system time as for example CEST(UTC+2) timezone.
I'd like to know why you need to use local time for the RTC, I think
that's rather uncommon.

- Felix

More information about the Lede-dev mailing list