[Bug 276918] "zpool status -t": output is inconsistent

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 09 Feb 2024 10:44:22 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276918

            Bug ID: 276918
           Summary: "zpool status -t": output is inconsistent
           Product: Base System
           Version: 14.0-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: che@bein.link

I'm using FreeBSD stable/14, and I noticed the following:
When using the Russian UTF-8 locale, here's what "zpool status -t" gives me:

% zpool status -t
  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


Note it says scrub has been completed at a certain point in time in English,
but then it says trim has been completed at a certain point in time in Russian.

I suppose, the dates should be printed in English in both cases.

Here's a bit more info:
% uname -rsm
FreeBSD 14.0-STABLE amd64
% locale
LANG=ru_RU.UTF-8
LC_CTYPE="ru_RU.UTF-8"
LC_COLLATE="ru_RU.UTF-8"
LC_TIME="ru_RU.UTF-8"
LC_NUMERIC="ru_RU.UTF-8"
LC_MONETARY="ru_RU.UTF-8"
LC_MESSAGES="ru_RU.UTF-8"
LC_ALL=

-- 
You are receiving this mail because:
You are the assignee for the bug.