From patchwork Thu Jan 11 00:59:28 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Rafal Luzynski X-Patchwork-Id: 858669 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=sourceware.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=libc-alpha-return-89053-incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b="Sbmv8EDs"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3zH6wY55f1z9s7M for ; Thu, 11 Jan 2018 11:59:41 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:reply-to:to:message-id:subject :mime-version:content-type; q=dns; s=default; b=CO8ZkcHxbqYk5Wzi f4Do8w2070V75cddMcTZF9w4dc8L3yANrX65rszsjhbtTFJ+VzVOW1dRCKpnWLs6 Uq2HtG3GeKpqEAa3HPy6Tu+TiBxxnLqlytfCTFqOVon8eRfuNvlqgQ/XZbLN6leJ UtlBrjZbd2ilqI0jby4r8kypSBY= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:reply-to:to:message-id:subject :mime-version:content-type; s=default; bh=f78fJqbXcGlRjM0k2TEkED d8RV8=; b=Sbmv8EDsc8z2XZQtG0L2acmbbpWkK/BmoxnDjPjIuQuwkxRzcf9EB3 mM2VDydjkqnszrmQDa4xs83bZLqXiwcqO84mndEt1uiPRl6YkO0sCig82INDWm2o +osXgq9dDBzvAQHGAiu9sfR38fJb7D6BwCGAnnVHIP3/2IKZPuK74= Received: (qmail 87474 invoked by alias); 11 Jan 2018 00:59:35 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 87461 invoked by uid 89); 11 Jan 2018 00:59:34 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-23.9 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, KAM_LAZY_DOMAIN_SECURITY, WEIRD_QUOTING autolearn=ham version=3.3.2 spammy=ber, H*c:PHrt, Hx-languages-length:2127, HX-Envelope-From:sk:digital X-HELO: aev204.rev.netart.pl X-Spam-Score: 0.001 Date: Thu, 11 Jan 2018 01:59:28 +0100 (CET) From: Rafal Luzynski Reply-To: Rafal Luzynski To: libc-alpha@sourceware.org Message-ID: <1948728462.806259.1515632368865@poczta.nazwa.pl> Subject: hu_HU locale: Avoid double space (bug 22657). MIME-Version: 1.0 X-Originating-Client: com.openexchange.ox.gui.dhtml This is a slightly reworked patch by Egmont Koblinger. It is trivial, correct, fixes Hungarian locale data only, and I find it desirable. AFAIK updates to the locale data do not break the freeze period. OK to push to master now? If there is no objection I will push in less than 24 hours. Regards, Rafal Link: https://sourceware.org/bugzilla/show_bug.cgi?id=22657 From a001604dd17feb8e1ab536e67b222991ee255bce Mon Sep 17 00:00:00 2001 From: Egmont Koblinger Date: Mon, 1 Jan 2018 20:40:11 +0000 Subject: [PATCH] hu_HU locale: Avoid double space (bug 22657). MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The current date format prefixes one-digit days with a space, resulting in ugly two spaces: $ LC_ALL=hu_HU.UTF-8 date 2018. jan. 1., hétfő, 21:25:35 CET ^^ The official orthography rules doesn't contain an explicit rule about this (which already gives no sane reason for double space), and an implicit example of "1848. március 9." under bullet point 296 at http://helyesiras.mta.hu/helyesiras/default/akh12 contains a single space only. It's sure not convincing on an HTML page, but I confirm that the official book edition (e.g. https://www.libri.hu/en/konyv/a-magyar-helyesiras-szabalyai-32.html) also contains a single space there. [BZ #22657] * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space before the day number which may produce a double space. (date_fmt): Likewise. --- localedata/locales/hu_HU | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/localedata/locales/hu_HU b/localedata/locales/hu_HU index 01e45b9..0aa2104 100644 --- a/localedata/locales/hu_HU +++ b/localedata/locales/hu_HU @@ -544,12 +544,12 @@ mon "janur";/ "oktber";/ "november";/ "december" -d_t_fmt "%Y. %b. %e., %A, %H:%M:%S %Z" +d_t_fmt "%Y. %b. %-e., %A, %H:%M:%S %Z" d_fmt "%Y-%m-%d" t_fmt "%H:%M:%S" am_pm "";"" t_fmt_ampm "%H:%M:%S" -date_fmt "%Y. %b. %e., %A, %H:%M:%S %Z" +date_fmt "%Y. %b. %-e., %A, %H:%M:%S %Z" week 7;19971130;4 first_weekday 2 END LC_TIME -- 2.7.5