diff options
author | Lennart Poettering <lennart@poettering.net> | 2023-01-20 16:52:39 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2023-01-20 17:48:28 +0100 |
commit | 3bac48edfb52737dab1953d4806f47d46a3f7bf0 (patch) | |
tree | b4e9ec2c5ddbaeb7838149d821442c8e9cae1e84 /src/hostname | |
parent | d9b40cc02cc5d81fe19b6d97bfddcf8e13e1231c (diff) | |
download | systemd-3bac48edfb52737dab1953d4806f47d46a3f7bf0.tar.gz |
hostnamectl: show firmware date with date only, without time
The source (usually DMI/SMBIOS) only has 24h granularity, hence don't
show time as well, it's useless.
Diffstat (limited to 'src/hostname')
-rw-r--r-- | src/hostname/hostnamectl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hostname/hostnamectl.c b/src/hostname/hostnamectl.c index 51b2bde1f4..c77e2e8fd9 100644 --- a/src/hostname/hostnamectl.c +++ b/src/hostname/hostnamectl.c @@ -244,7 +244,7 @@ static int print_status_info(StatusInfo *i) { if (timestamp_is_set(i->firmware_date)) { r = table_add_many(table, TABLE_FIELD, "Firmware Date", - TABLE_TIMESTAMP, i->firmware_date); + TABLE_TIMESTAMP_DATE, i->firmware_date); if (r < 0) return table_log_add_error(r); } |