[systemd-devel] [PATCH] timedated: Add a LocalOffset property for timezone offset
Simon McVittie
simon.mcvittie at collabora.co.uk
Tue Mar 24 08:16:22 PDT 2015
On 24/03/15 14:40, Stef Walter wrote:
> On 24.03.2015 15:22, Tom Gundersen wrote:
>> It all comes down to what you intend the fields to mean. Now we mean
>> the field to mean "the real localtime of the server (as seen from the
>> client)", whereas you want it to mean "the localtime the server thinks
>> it has".
>
> The latter is the only place where "server local time" is relevant.
Perhaps it would be instructive to think about why the server's local
time is of any interest?
My guess would be that it's to answer questions like "how long do I have
before that cron job starts?" or "how long ago did that daemon log this
warning?", which AFAICS are, as Stef says, about the local time the
server thinks it has, and not about the local time that the client
thinks the server should have.
S
More information about the systemd-devel
mailing list