HomeFreeBSD

Fix locale-specific time

Description

Fix locale-specific time

In zpool status -t, scrub date/time is reported using the C locale,
while trim time is reported using the current one. This is inconsistent.
This patch fixes that.

Reviewed-by: Tino Reichardt <milky-zfs@mcmilk.de>
Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Maxim Filimonov <che@bein.link>
Closes #15878
Closes #15879

Details

Provenance
che_bein.linkAuthored on Apr 8 2024, 10:37 PM
GitHub <noreply@github.com>Committed on Apr 8 2024, 10:37 PM
Parents
rGaa5445c28ba6: Remove db_state DB_NOFILL checks from syncing context
Branches
Unknown
Tags
Unknown

Event Timeline