[Bug localedata/24162] New: ja_JP LC_TIME: era offset for Taisho GanNen and BC direction
junji.morimitsu at hpe dot com
sourceware-bugzilla@sourceware.org
Mon Feb 4 10:15:00 GMT 2019
https://sourceware.org/bugzilla/show_bug.cgi?id=24162
Bug ID: 24162
Summary: ja_JP LC_TIME: era offset for Taisho GanNen and BC
direction
Product: glibc
Version: 2.29
Status: UNCONFIRMED
Severity: minor
Priority: P2
Component: localedata
Assignee: unassigned at sourceware dot org
Reporter: junji.morimitsu at hpe dot com
CC: libc-locales at sourceware dot org
Target Milestone: ---
Dear glibc maintainers,
Thank you for your work.
I would like to request update of 3 lines of ja_JP as follows.
file: glibc-2.29/localedata/locales/ja_JP
1: email bug-glibc-locales@gnu.org is not available. Email was forwarded to
libc-locales@sources.redhat.com and I got a deliverly error. Please remove the
obsolete email address.
(Also it is listed on https://sourceware.org/glibc/wiki/Bugzilla%20Procedures)
2: The offset of Taisho Gan Nen (1912) is '2', but it should be '1'. Gan Nen
means the 1st year, Taisho started on 1912-07-30.
////
morimi@vms$ uname -ov
#166-Ubuntu SMP Wed Nov 14 20:09:47 UTC 2018 GNU/Linux
morimi@vms$ date -d"1912-07-29" +%EY
明治45年
morimi@vms$ date -d"1912-07-29" +%Ey
45
morimi@vms$ date -d"1912-07-30" +%EY
大正元年
morimi@vms$ date -d"1912-07-30" +%Ey
2 <<<<wrong
morimi@vms$ date -d"1913-07-30" +%EY
大正2年
morimi@vms$ date -d"1913-07-30" +%Ey
2
////
(I found this bug was listed as bug#11310)
3: The direction of BC is '+', but it should be '-'. The start_date
(-1/12/31) is the last day of BC. The direction is backward. However I cannot
show how to use this flag. Only decoration?
----Patch data----
begin--------
--- glibc-2.29/localedata/locales/ja_JP 2019-01-29 13:23:57.691603804 +0900
+++ glibc-2.29/localedata/locales/ja_JP-fix 2019-02-04 14:16:18.444557801
+0900
@@ -18,7 +18,7 @@
source "HANATAKA, Shinya, hanataka@abyss.rim.or.jp"
address ""
contact ""
-email "bug-glibc-locales@gnu.org"
+email ""
tel ""
fax ""
language "Japanese"
@@ -14951,10 +14951,10 @@
"+:2:1927//01//01:1989//01//07:<U662D><U548C>:%EC%Ey<U5E74>";/
"+:1:1926//12//25:1926//12//31:<U662D><U548C>:%EC<U5143><U5E74>";/
"+:2:1913//01//01:1926//12//24:<U5927><U6B63>:%EC%Ey<U5E74>";/
- "+:2:1912//07//30:1912//12//31:<U5927><U6B63>:%EC<U5143><U5E74>";/
+ "+:1:1912//07//30:1912//12//31:<U5927><U6B63>:%EC<U5143><U5E74>";/
"+:6:1873//01//01:1912//07//29:<U660E><U6CBB>:%EC%Ey<U5E74>";/
"+:1:0001//01//01:1872//12//31:<U897F><U66A6>:%EC%Ey<U5E74>";/
- "+:1:-0001//12//31:-*:<U7D00><U5143><U524D>:%EC%Ey<U5E74>"
+ "-:1:-0001//12//31:-*:<U7D00><U5143><U524D>:%EC%Ey<U5E74>"
era_d_fmt "%EY%m<U6708>%d<U65E5>"
end--------
Thank you and best regards,
Junji
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Glibc-bugs
mailing list