]> git.ipfire.org Git - thirdparty/util-linux.git/commit
last: use --time-format instruction when printing wtmp creation time
authorSami Kerola <kerolasa@iki.fi>
Mon, 16 Jan 2017 22:31:36 +0000 (22:31 +0000)
committerSami Kerola <kerolasa@iki.fi>
Mon, 16 Jan 2017 22:31:36 +0000 (22:31 +0000)
commit78acfddd1df9e571dbe3bdc351b56bb0e53ca5e8
treea11eeacd3cf22840af4a2978f971bf078d66364b
parent5eaeb5858fc8c0d906ec53d219c43162c82aed7a
last: use --time-format instruction when printing wtmp creation time

This makes --time-format=iso timestamp to look the same as login/logout
times.  When --time-format=noformat is used the file creation time not
printed.  There is no change to default format.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
login-utils/last.c
tests/expected/utmp/last-nodns