HomeFreeBSD

usr.bin/stat: honour locale for "-t %+"

Description

usr.bin/stat: honour locale for "-t %+"

The man page states that "-t %+" prints time information in the same
format as date with no format specifier.

This was not the case, the format used was always that of date for the
POSIX locale.

The fix suggested by the reporter leads to output that matches the
documentation.

(cherry picked from commit 20f8331aca892ff812510609b3bc4e747b201197)

Details

Provenance
seAuthored on Oct 30 2021, 7:00 AM
Parents
rG6f9036a6513e: netstat: Fix typo
Branches
Unknown
Tags
Unknown