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=-3.7 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,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 216021F453 for ; Fri, 18 Jan 2019 02:32:47 +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:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-type; q=dns; s=default; b=vIPK Z9f5fvFKPHe1aYYcpJX47X/qXWfyDj3V4gvY66xr296GXf74cVXOyz6q+vhnpN+v WqDU0ZB56EZ66NQS+0svU0ZMVcpZa4Fl7MxN2BUG1wWJVXElKoYfnkxrksTOSeU0 XTHZ79b/JG9Zyi1Hha2/aPyeSk+nvw0WLwb0Qno= 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:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-type; s=default; bh=KnLrX8drJH QNlsMTAisKmPLZc1k=; b=R4h8VWBBE95AV1KbGzpx407MLIqLloO4E3vNp1VErK m/VrYkoLcLd9l/Dbp7oPZWWrhFP6140oRSkxSKsdj+2QIO8j86BKYssav55cxWUj tmVZqlWQEtawftBfp5aVzFGxszrJ9VZ0LCnZYwJKq1ggO7XDT8mqyJ0QNMNytax3 A= Received: (qmail 127090 invoked by alias); 18 Jan 2019 02:32:43 -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 127071 invoked by uid 89); 18 Jan 2019 02:32:43 -0000 Authentication-Results: sourceware.org; auth=none X-HELO: mailbackend.panix.com MIME-Version: 1.0 References: <201901110447.AA04173@tamuki.linet.gr.jp> <201901110452.AA04175@tamuki.linet.gr.jp> <184032555.404911.1547751249485@poczta.nazwa.pl> In-Reply-To: <184032555.404911.1547751249485@poczta.nazwa.pl> From: Zack Weinberg Date: Thu, 17 Jan 2019 21:32:25 -0500 Message-ID: Subject: Re: [PATCH v6 2/2] strftime: Pass the additional flags from "%EY" to "%Ey" [BZ #23758] To: Rafal Luzynski Cc: TAMUKI Shoichi , GNU C Library Content-Type: text/plain; charset="UTF-8" On Thu, Jan 17, 2019 at 1:55 PM Rafal Luzynski wrote: > 16.01.2019 17:17 Zack Weinberg wrote: > > (It seems to me that this extension ought to be generalized to all of > > the "macro" formats (%c, %D, %F, %r, %R, %T, %x, %X, %Ec, %Ex, %EX), > > and to all format flags and field widths, but that would be a separate > > patch and not appropriate for 2.29 at this point.) > > This may be too ambiguous and therefore impossible to implement. Yeah, you may be right there. It was just an idea. > > | * As a GNU extension, the '-' and '_' flags can now be applied to '%EY' > > | to control how the year number is formatted; they have the same effect > > | that they would on %Ey. > > "they would" or "they would have"? My ear says an additional "have" is not necessary, but feel free to add it if it sounds better to you that way. > Also, shouldn't all format specifiers be consequently quoted, like "%EY" > and "%Ey"? I don't mind single quotes, especially for the flags, I just > think that %Ey (without any quotes) may not be absolutely clear. This is NEWS, right? In the manual it should be @code{} and no quotes for all of them, IIRC, but yes, let's add quotes around %Ey. It doesn't matter to me whether they are single or double quotes. zw