Bug#808143: bg_BG locale should use colon as time separator, not comma
Package: locales
Version: 2.21-4
Severity: normal
Tags: upstream patch
The time format specified in the bg_BG locale is:
$ locale -k t_fmt t_fmt_ampm date_fmt
t_fmt="%k,%M,%S"
t_fmt_ampm="%l,%M,%S"
date_fmt="%a %b %e %H:%M:%S %Z %Y"
t_fmt[_ampm] should use colons instead of commas, like date_fmt already does.
An example of the badly formatted time can be seen in empathy chat windows when
using 'Boxes' or 'Planet GNOME' themes.
Trivial patch attached.
-- dam
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.3.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=bg_BG.UTF-8, LC_CTYPE=bg_BG.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages locales depends on:
ii debconf [debconf-2.0] 1.5.58
ii libc-bin 2.21-4
ii libc-l10n 2.21-4
locales recommends no packages.
locales suggests no packages.
-- debconf information:
* locales/default_environment_locale: bg_BG.UTF-8
* locales/locales_to_be_generated: bg_BG.UTF-8 UTF-8
>From bf384da5916495f08207f61d48a3e7bb4bfea36e Mon Sep 17 00:00:00 2001
From: Damyan Ivanov <dmn@debian.org>
Date: Wed, 16 Dec 2015 12:40:21 +0000
Subject: [PATCH] Fix time separator in bg_BG locale
Use colons instead of commas
---
localedata/locales/bg_BG | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/localedata/locales/bg_BG b/localedata/locales/bg_BG
index 74e5ad4..ed12e25 100644
--- a/localedata/locales/bg_BG
+++ b/localedata/locales/bg_BG
@@ -185,9 +185,9 @@ LC_TIME
d_t_fmt "<U0025><U0078><U0020><U0028><U0025><U0061><U0029><U0020>/
<U0025><U0058><U0020><U0025><U005A>"
d_fmt "<U0025><U0065><U002E><U0025><U006D><U002E><U0025><U0059>"
-t_fmt "<U0025><U006B><U002C><U0025><U004D><U002C><U0025><U0053>"
+t_fmt "<U0025><U006B><U003A><U0025><U004D><U003A><U0025><U0053>"
am_pm "";""
-t_fmt_ampm "<U0025><U006C><U002C><U0025><U004D><U002C><U0025><U0053>"
+t_fmt_ampm "<U0025><U006C><U003A><U0025><U004D><U003A><U0025><U0053>"
date_fmt "<U0025><U0061><U0020><U0025><U0062><U0020><U0025><U0065>/
<U0020><U0025><U0048><U003A><U0025><U004D><U003A><U0025><U0053><U0020>/
<U0025><U005A><U0020><U0025><U0059>"
--
2.6.4
Reply to: