it_CH/it_IT locales: Correct some LC_TIME formats (bug 10425).

Message ID 1544607871.233929.1537215895904@poczta.nazwa.pl
State Committed
Headers

Commit Message

Rafal Luzynski Sept. 17, 2018, 8:24 p.m. UTC
  According to my best knowledge this patch is correct.  However, if
anyone can speak Italian and can provide some feedback then I will
appreciate.  Also I will appreciate if you have any general feedback.
Otherwise, I am going to commit by the end of this week.

Bugzilla link: https://sourceware.org/bugzilla/show_bug.cgi?id=10425

Regards,

Rafal
  

Comments

Rafal Luzynski Sept. 21, 2018, 8:55 a.m. UTC | #1
17.09.2018 22:24 Rafal Luzynski <digitalfreak@lingonborough.com> wrote:
> According to my best knowledge this patch is correct. However, if
> anyone can speak Italian and can provide some feedback then I will
> appreciate. Also I will appreciate if you have any general feedback.
> Otherwise, I am going to commit by the end of this week.
>
> Bugzilla link: https://sourceware.org/bugzilla/show_bug.cgi?id=10425

This patch has been pushed to master and the bug has been marked as
fixed now.

Regards,

Rafal
  

Patch

From fdba8de8f66befd5c495022f03550f08cd8fa0d7 Mon Sep 17 00:00:00 2001
From: Rafal Luzynski <digitalfreak@lingonborough.com>
Date: Fri, 14 Sep 2018 22:43:02 +0200
Subject: [PATCH] it_CH/it_IT locales: Correct some LC_TIME formats (bug
 10425).

Synchronize some values with CLDR and apply the suggestions from Bugzilla.

	[BZ #10425]
	* localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
	(date_fmt): Use "%a %-d %b %Y, %T, %Z".
	* localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
	which is the same as in it_IT.
	(d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
	(date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
---
 localedata/locales/it_CH | 6 +++---
 localedata/locales/it_IT | 4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/localedata/locales/it_CH b/localedata/locales/it_CH
index df3b299..6d85e1b 100644
--- a/localedata/locales/it_CH
+++ b/localedata/locales/it_CH
@@ -95,12 +95,12 @@  mon     "gennaio";/
 	"ottobre";/
 	"novembre";/
 	"dicembre"
-d_t_fmt "%a %d %b %Y %T %Z"
-d_fmt   "%d. %m. %y"
+d_t_fmt "%a %-d %b %Y, %T"
+d_fmt   "%d.%m.%Y"
 t_fmt   "%T"
 am_pm   "";""
 t_fmt_ampm ""
-date_fmt   "%a %e %b %Y, %H.%M.%S, %Z"
+date_fmt   "%a %-d %b %Y, %T, %Z"
 week 7;19971130;4
 first_weekday 2
 END LC_TIME
diff --git a/localedata/locales/it_IT b/localedata/locales/it_IT
index 31591dd..6535cd7 100644
--- a/localedata/locales/it_IT
+++ b/localedata/locales/it_IT
@@ -134,12 +134,12 @@  mon     "gennaio";/
 	"ottobre";/
 	"novembre";/
 	"dicembre"
-d_t_fmt "%a %d %b %Y %T %Z"
+d_t_fmt "%a %-d %b %Y, %T"
 d_fmt   "%d//%m//%Y"
 t_fmt   "%T"
 am_pm   "";""
 t_fmt_ampm ""
-date_fmt   "%a %e %b %Y, %H.%M.%S, %Z"
+date_fmt   "%a %-d %b %Y, %T, %Z"
 week 7;19971130;4
 first_weekday 2
 END LC_TIME
-- 
2.7.5