Re: [PATCH 1/6] utmpdump: use always UTC-0 timezone in textual output

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jun 20, 2016 at 09:40:32PM +0100, Sami Kerola wrote:
> Converting a time structure from text format that has timezone markup is
> practically impossible.  See reference links for more information.  This
> leads to situation where multiple utmpdump(1) conversions from binary to
> text and back make timestamps to shift amount of timezone offset to UTC-0.
> 
> The easiest way to make multiple conversions to work without timeshifts is
> to always use UTC-0 timezone.  Downside of this approach is that the textual
> format is less human readable than local timestamps would be.

Makes sense, but it would be nice to have big fat note in the man
page.

    Karel

-- 
 Karel Zak  <kzak@xxxxxxxxxx>
 http://karelzak.blogspot.com
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux