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
Tony Hutter <hutter2@llnl.gov>Committed on Apr 29 2024, 8:50 PM
Parents
rG531572b5906a: Fix panics when truncating/deleting files
Branches
Unknown
Tags
Unknown