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.
This commit is contained in:
Lennart Poettering
2023-01-20 17:48:28 +01:00
parent d9b40cc02c
commit 3bac48edfb
+1 -1
View File
@@ -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);
}