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.

Reported by: Jamie Landeg-Jones <jamie@catflap.org>
MFC after: 3 days

Details

Provenance
seAuthored on Oct 30 2021, 7:00 AM
Parents
rGdc6dd769de63: nfscl: Use NFSMNTP_DELEGISSUED in two more functions
Branches
Unknown
Tags
Unknown