[Bug 1986803] Re: Incorrect/misleading Time Format For ms_MY (AM/PM)

Gunnar Hjalmarsson 1986803 at bugs.launchpad.net
Wed Aug 17 14:35:21 UTC 2022


The intention in the ms_MY locale seems to be to support the distinction
between am and pm. That's what the '%p' part is about:

$ LC_TIME=ms_MY.UTF-8 locale date_fmt
%A %d %b %Y %I:%M:%S %p %Z

However, the am_pm definition is empty:

$ LC_TIME=ms_MY.UTF-8 locale am_pm
;

and that's probably a mistake.

With that said, Ubuntu uses the locales provided by glibc, so this
request should rather be made upstream:

https://sourceware.org/bugzilla/enter_bug.cgi?product=glibc&component=localedata

If you submit an upstream bug report, please post the URL to it here for
tracking purposes.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to glibc in Ubuntu.
https://bugs.launchpad.net/bugs/1986803

Title:
  Incorrect/misleading Time Format For ms_MY (AM/PM)

Status in glibc package in Ubuntu:
  Incomplete

Bug description:
  Date format problem when representing time in ms_MY. 12-hour clock is
  used despite AM/PM localization string is empty.

  Expectation: 
  When running the command `date`, output was `Rabu 17 Ogos 2022 20:35:36  +08`

  What happened instead:
  When running the command `date`, output was `Rabu 17 Ogos 2022 08:35:36  +08`

  These were run during the PM side of time. When running it in the
  morning, it shows as expected.

  Additional Information:
  Description:	Ubuntu 22.04.1 LTS
  Release:	22.04

  ProblemType: Bug
  DistroRelease: Ubuntu 22.04
  Package: locales 2.35-0ubuntu3.1
  ProcVersionSignature: Ubuntu 5.15.0-46.49-generic 5.15.39
  Uname: Linux 5.15.0-46-generic x86_64
  ApportVersion: 2.20.11-0ubuntu82.1
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  Date: Wed Aug 17 20:30:44 2022
  InstallationDate: Installed on 2022-08-12 (4 days ago)
  InstallationMedia: Ubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 (20220809.1)
  PackageArchitecture: all
  SourcePackage: glibc
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1986803/+subscriptions




More information about the foundations-bugs mailing list