Skip to content

Locale-specific time in trim status #15878

Closed
@part1zano

Description

@part1zano

System information

Type Version/Name
Distribution Name FreeBSD
Distribution Version 14.0-STABLE
Kernel Version 14.0-STABLE
Architecture amd64
OpenZFS Version zfs-2.2.2-FreeBSD_g494aaaed8

Describe the problem you're observing

In zpool status -t, trim status has its date in locale-specific format, like so:

  pool: zroot
 state: ONLINE
  scan: scrub repaired 0B in 00:09:42 with 0 errors on Fri Feb  9 14:11:58 2024
config:

        NAME          STATE     READ WRITE CKSUM
        zroot         ONLINE       0     0     0
          nda0p4.eli  ONLINE       0     0     0  (100% trimmed, completed at пятница,  9 февраля 2024 г. 14:28:37)

errors: No known data errors

As seen above, trim completion date/time is in Russian while scrub date/time version is in English.

Describe how to reproduce the problem

LANG=ru_RU.UTF-8 zpool status -t

Include any warning/errors/backtraces from the system logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: DefectIncorrect behavior (e.g. crash, hang)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions