Package: chromium
Version: 138.0.7204.92-1
Severity: normal
Tags: l10n

Hello, thank you for maintaining Chromium.

Unfortunately I cannot report this on crbug.com as it requires a
personal Google account, which I do not have, to sign in.

Given this simple HTML file:

    <form>
        <input type="date" value="2025-01-20">
        <input type="time" value="15:30:45">
    </form>

When displayed on a system with this locale:

    $ locale
    LANG=en_IE.UTF-8
    LANGUAGE=en_IE:en
    LC_CTYPE="en_IE.UTF-8"
    LC_NUMERIC="en_IE.UTF-8"
    LC_TIME="en_IE.UTF-8"
    LC_COLLATE="en_IE.UTF-8"
    LC_MONETARY="en_IE.UTF-8"
    LC_MESSAGES="en_IE.UTF-8"
    LC_PAPER="en_IE.UTF-8"
    LC_NAME="en_IE.UTF-8"
    LC_ADDRESS="en_IE.UTF-8"
    LC_TELEPHONE="en_IE.UTF-8"
    LC_MEASUREMENT="en_IE.UTF-8"
    LC_IDENTIFICATION="en_IE.UTF-8"
    LC_ALL=

I get a date picker with "1/20/2025" format, and a time picker with
"03:30:45 PM" format.

On the same system+locale:

    $ date --date="2025-01-20 15:30:45"
    Mon 20 Jan 2025 15:30:45 CET

/usr/share/i18n/locales/en_IE defines dd/mm/yyyy for dates and a 24h
time for times:

    d_t_fmt     "%a %d %b %Y %T"
    date_fmt    "%a %d %b %Y %T %Z"
    d_fmt       "%d//%m//%y"
    t_fmt       "%T"
    am_pm       "";""
    t_fmt_ampm  ""

Firefox 128.11.0esr on the same system correctly shows the same file
with "20/01/2025" format for dates, and "15:30:45" format for times.

It looks like chromium is not picking up the locale correctly.
Unfortunately I do not have an equivalent chrome to try, but from issues
such as https://github.com/nextcloud/calendar/issues/6359 it looks like
it's a widespread enough problem that is driving various people mad, as
NextCloud is using standard date/time pickers for its calendar input.


Thank you,

Enrico


-- System Information:
Debian Release: 13.0
  APT prefers testing-security
  APT policy: (500, 'testing-security'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.30-amd64 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN
Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_IE:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages chromium depends on:
ii  chromium-common                                 138.0.7204.92-1
ii  libasound2t64                                   1.2.14-1
ii  libatk-bridge2.0-0t64                           2.56.2-1
ii  libatk1.0-0t64                                  2.56.2-1
ii  libatspi2.0-0t64                                2.56.2-1
ii  libc6                                           2.41-9
ii  libcairo2                                       1.18.4-1+b1
ii  libcups2t64                                     2.4.10-3
ii  libdav1d7                                       1.5.1-1
ii  libdbus-1-3                                     1.16.2-2
ii  libdouble-conversion3                           3.3.1-1
ii  libexpat1                                       2.7.1-1
ii  libflac14                                       1.5.0+ds-2
ii  libfontconfig1                                  2.15.0-2.3
ii  libfreetype6                                    2.13.3+dfsg-1
ii  libgbm1                                         25.0.5-2
ii  libgcc-s1                                       14.2.0-19
ii  libglib2.0-0t64                                 2.84.3-1
ii  libgtk-3-0t64                                   3.24.49-3
ii  libharfbuzz-subset0                             10.2.0-1+b1
ii  libharfbuzz0b                                   10.2.0-1+b1
ii  libjpeg62-turbo                                 1:2.1.5-4
ii  liblcms2-2                                      2.16-2
ii  libminizip1t64                                  1:1.3.dfsg+really1.3.1-1+b1
ii  libnspr4                                        2:4.36-1
ii  libnss3                                         2:3.110-1
ii  libopenh264-8                                   2.6.0+dfsg-2
ii  libopenjp2-7                                    2.5.3-2
ii  libopus0                                        1.5.2-2
ii  libpango-1.0-0                                  1.56.3-1
ii  libpng16-16t64                                  1.6.48-1
ii  libpulse0                                       17.0+dfsg1-2+b1
ii  libudev1                                        257.7-1
ii  libx11-6                                        2:1.8.12-1
ii  libxcb1                                         1.17.0-2+b1
ii  libxcomposite1                                  1:0.4.6-1
ii  libxdamage1                                     1:1.1.6-1+b2
ii  libxext6                                        2:1.3.4-1+b3
ii  libxfixes3                                      1:6.0.0-2+b4
ii  libxkbcommon0                                   1.7.0-2
ii  libxml2                                         2.12.7+dfsg+really2.9.14-1
ii  libxnvctrl0                                     535.171.04-1+b2
ii  libxrandr2                                      2:1.5.4-1+b3
ii  libxslt1.1                                      1.1.35-1.2
ii  libzstd1                                        1.5.7+dfsg-1
ii  xdg-desktop-portal-gnome [xdg-desktop-portal-b  48.0-2
    ackend]
ii  xdg-desktop-portal-gtk [xdg-desktop-portal-bac  1.15.3-1
    kend]
ii  zlib1g                                          1:1.3.dfsg+really1.3.1-1+b1

Versions of packages chromium recommends:
ii  chromium-sandbox  138.0.7204.92-1

Versions of packages chromium suggests:
pn  chromium-driver  <none>
pn  chromium-l10n    <none>
pn  chromium-shell   <none>

Versions of packages chromium-common depends on:
ii  libc6        2.41-9
ii  libgcc-s1    14.2.0-19
ii  libx11-6     2:1.8.12-1
ii  libxcb1      1.17.0-2+b1
ii  libxnvctrl0  535.171.04-1+b2
ii  x11-utils    7.7+7
ii  xdg-utils    1.2.1-2
ii  zlib1g       1:1.3.dfsg+really1.3.1-1+b1

Versions of packages chromium-common recommends:
ii  chromium-sandbox                   138.0.7204.92-1
ii  fonts-liberation                   1:2.1.5-3
ii  gnome-shell [notification-daemon]  48.2-3
ii  libgl1-mesa-dri                    25.0.5-2
ii  system-config-printer              1.5.18-4
ii  udev                               257.7-1
ii  upower                             1.90.9-1

Versions of packages chromium-sandbox depends on:
ii  libc6  2.41-9

-- no debconf information

Reply via email to