Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 Dec 2024 21:33:20 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 283108] it_IT locale has wrong date/time format
Message-ID:  <bug-283108-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D283108

            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=3Dit_IT.UTF-8 uptime

and:

  LC_TIME=3Dit_IT.UTF-8 w

Judging by:

root@bianconiglio:~ # LC_TIME=3Dit_IT.UTF-8 locale -k d_t_fmt d_fmt t_fmt a=
m_pm
t_fmt_ampm am_str pm_str
d_t_fmt=3D"%a %e %b %X %Y"
d_fmt=3D"%d.%m.%Y"
t_fmt=3D"%H:%M:%S"
am_pm=3D"AM;PM"
t_fmt_ampm=3D"%I:%M:%S %p"
am_str=3D"AM"
pm_str=3D"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 loca=
les,
but I see uk_UA.UTF-8 behaves this way)

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-283108-227>