Re: pacman.log has no timezone information in timestamp

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




On 01-03-2019 23:46, Florian Wehner wrote:
Hi!

I just used the /var/log/pacman.log for the first time to give me the last date-time I did a system upgrade ('starting full system upgrade' in the log). There is no time-zone info in the time-stamp. It's also not UTC. Does anyone know if this is by design or a bug?

Example Output:
[2019-03-01 16:59] [PACMAN] starting full system upgrade
Expected Output:
[2019-03-01 16:59-05:00] [PACMAN] starting full system upgrade

It's confusing when you travel a lot or use 'datediff'.

--Florian

During installation you set a symlink from /etc/localtime to a timezone.

I'm 99% sure the timezone set there is whats used by pacman.log .

Lone_Wolf



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux