From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS31976 209.132.180.0/23 X-Spam-Status: No, score=-4.1 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 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 dcvr.yhbt.net (Postfix) with ESMTPS id CF1B61F463 for ; Wed, 1 Jan 2020 14:58:39 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=Je6tTPJW3Bnfugxl iy83P/S2LOsCdsSxEuprEkRn5dKPFGfhsRYvFVC20kYF/acMCK7lHI06YBF59/5x iGcITZ+R8Ze+Y1DwCpaLJEPHZ1NT4T7ESLS5cNpXie//PafeOtivL3irmo3HsiIp YiIJRYHXGe94M7dWtDX/mgCjZ9o= 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:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=NPTm8ViKNwncELo0slmMst +zl1Q=; b=TEqr4HWX3F3pYWOng5Q9+FF85KRDl3Up9EW46NTqdHR6gnQ14Z3RSc /DpbGOLGaBTa+/yaJZ/YXFTSFsT5jT4Qf7VrKb5iElvIajoj90CVI6BM19vfuJnu oZL0hAnzkt9UEupIDswTO2CuUyrvMO1Knv0wsvWQPEc0GGBU9is2Y= Received: (qmail 130752 invoked by alias); 1 Jan 2020 14:58:36 -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 Received: (qmail 130740 invoked by uid 89); 1 Jan 2020 14:58:36 -0000 Authentication-Results: sourceware.org; auth=none X-HELO: azure.elm.relay.mailchannels.net X-Sender-Id: dreamhost|x-authsender|siddhesh@gotplt.org X-Sender-Id: dreamhost|x-authsender|siddhesh@gotplt.org X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|siddhesh@gotplt.org X-MailChannels-Auth-Id: dreamhost X-Descriptive-Befitting: 757980336c318498_1577890712485_22387512 X-MC-Loop-Signature: 1577890712485:1909831282 X-MC-Ingress-Time: 1577890712485 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gotplt.org; h=subject:to :references:from:message-id:date:mime-version:in-reply-to :content-type:content-transfer-encoding; s=gotplt.org; bh=NPTm8V iKNwncELo0slmMst+zl1Q=; b=TPI9iz6sSIhVCl81OQdJ0haQIwpP3v+VA1Y2jb WvE8x1gy5KREBO/n1HiUiB8EFjF6grq0UDWaOojccwKs1AYVe4cgMJkKdLYpOpo2 THW2Itl8MPqr2jokbOK5eRAL506Lfh1YP9XUWyuvWuqZWG354umIZTr6/BHQRIPq KlEwQ= Subject: Re: [PATCH v2] Multiple locales: Add date_fmt (bug 24054) To: Rafal Luzynski , libc-alpha@sourceware.org References: <629578561.639243.1577744827270@poczta.nazwa.pl> <1697557278.633174.1577811688998@poczta.nazwa.pl> X-DH-BACKEND: pdx1-sub0-mail-a35 From: Siddhesh Poyarekar Message-ID: <5f8be1cc-793c-271f-75ce-ded4ffbffc94@gotplt.org> Date: Wed, 1 Jan 2020 20:28:06 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.3.1 MIME-Version: 1.0 In-Reply-To: <1697557278.633174.1577811688998@poczta.nazwa.pl> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: 0 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedufedrvdefledgjedtucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuggftfghnshhusghstghrihgsvgdpffftgfetoffjqffuvfenuceurghilhhouhhtmecufedttdenucenucfjughrpefuvfhfhffkffgfgggjtgfgsehtjeertddtfeejnecuhfhrohhmpefuihguughhvghshhcurfhohigrrhgvkhgrrhcuoehsihguughhvghshhesghhothhplhhtrdhorhhgqeenucfkphepuddvfedrvdehvddrvddtvddrudejvdenucfrrghrrghmpehmohguvgepshhmthhppdhhvghloheplgduledvrdduieekrddurdeljegnpdhinhgvthepuddvfedrvdehvddrvddtvddrudejvddprhgvthhurhhnqdhprghthhepufhiugguhhgvshhhucfrohihrghrvghkrghruceoshhiugguhhgvshhhsehgohhtphhlthdrohhrgheqpdhmrghilhhfrhhomhepshhiugguhhgvshhhsehgohhtphhlthdrohhrghdpnhhrtghpthhtohepughighhithgrlhhfrhgvrghksehlihhnghhonhgsohhrohhughhhrdgtohhmnecuvehluhhsthgvrhfuihiivgeptd On 31/12/19 10:31 pm, Rafal Luzynski wrote: > The previous patch did not apply so here is the new version: > > -------------------------------8<--------------------------------- > > From: =?UTF-8?q?Rafa=C5=82=20Lu=C5=BCy=C5=84ski?= > > Date: Mon, 30 Dec 2019 11:58:18 +0100 > > It is not specified what should be the content of d_t_fmt and date_fmt > but in the built-in C locale those fields have only one difference: > date_fmt contains "%Z" (the current time zone) while d_t_fmt does not. > > For most of the locales this commit does the following operation: > copy d_t_fmt to date_fmt, and then remove "%Z" from d_t_fmt. > If "%Z" was originally missing from d_t_fmt add it to date_fmt. > It also corrects comments where necessary. > > Exceptions: > > * In bo_CN, dz_BT, and km_KH "%Z" has not been added to date_fmt because > it was too difficult. In these locales date_fmt has been set to the > copy of d_t_fmt. > * In en_DK "%Z" has not been removed from d_t_fmt in order to preserve > the conformance with the standard mentioned in the comment. > > The command to identify and initially edit the locales that need the > update was: > > for i in `grep -lw d_t_fmt *` > do > if ! grep -qw date_fmt $i ; then > awk '/d_t_fmt/ { print $0; gsub("d_t_fmt", "date_fmt"); } //{ > print $0 }' < $i > $i.next > mv $i.next $i > fi > done > > and then each file was further edited manually. This is OK to commit if you can do so before end of your day, Friday. Thanks, Siddhesh