[Bug 283108] it_IT locale has wrong date/time format

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 03 Dec 2024 21:33:20 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=283108

            Bug ID: 283108
           Summary: it_IT locale has wrong date/time format
           Product: Base System
           Version: 14.2-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: misc
          Assignee: bugs@FreeBSD.org
          Reporter: a.biardi@tiscali.it

It seems like the it_IT locale defaults to a 12-hour format (Italy uses 24-hour
format: https://en.wikipedia.org/wiki/Date_and_time_notation_in_Italy).

I noticed this in:

  LC_TIME=it_IT.UTF-8 uptime

and:

  LC_TIME=it_IT.UTF-8 w

Judging by:

root@bianconiglio:~ # LC_TIME=it_IT.UTF-8 locale -k d_t_fmt d_fmt t_fmt am_pm
t_fmt_ampm am_str pm_str
d_t_fmt="%a %e %b %X %Y"
d_fmt="%d.%m.%Y"
t_fmt="%H:%M:%S"
am_pm="AM;PM"
t_fmt_ampm="%I:%M:%S %p"
am_str="AM"
pm_str="PM"

I see the following:
- d_fmt should be "%d/%m/%Y"
- am_pm, t_fmt_ampm, am_str, pm_str should be empty (not familiar with locales,
but I see uk_UA.UTF-8 behaves this way)

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