Lennart Poettering <lenn...@poettering.net> writes:
> On Thu, 02.10.14 14:39, Jan Synacek (jsyna...@redhat.com) wrote:
>
>> Introduce option to display time in UTC.
>
> Thanks!
>
> Applied!

Thanks! I just realized that the patch was incomplete. There are at
least two different places that need to be patched - format_timestamp()
and format_timestamp_us() in src/shared/time-util.c. I'm not sure about
the rest (grepping localtime_r reveals some more uses). I would extend
the API of those calls by one boolean saying if they should use UTC or
not, however that would break API. Would that be OK? Or do you suggest
anything else?

Cheers,
-- 
Jan Synacek
Software Engineer, Red Hat
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to