From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 59112 invoked by alias); 3 Nov 2016 19:58:07 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 59021 invoked by uid 89); 3 Nov 2016 19:58:06 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.5 required=5.0 tests=AWL,BAYES_20,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=brady, Brady, quarter X-HELO: albireo.enyo.de From: Florian Weimer To: =?iso-8859-1?Q?P=E1draig?= Brady Cc: libc-alpha@sourceware.org Subject: Re: [PATCH] strftime: support %q to output the quarter of year References: <1478202401-5238-1-git-send-email-P@draigBrady.com> Date: Thu, 03 Nov 2016 19:58:00 -0000 In-Reply-To: <1478202401-5238-1-git-send-email-P@draigBrady.com> (=?iso-8859-1?Q?=22P=E1draig?= Brady"'s message of "Thu, 3 Nov 2016 19:46:41 +0000") Message-ID: <87mvhg9vzq.fsf@mid.deneb.enyo.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-SW-Source: 2016-11/txt/msg00115.txt.bz2 * P=E1draig Brady: > This is already supported by gnulib. This needs a test case (at least a test case update). > + case L_('q'): /* GNU extension. */ > + DO_SIGNED_NUMBER (1, tp->tm_mon < -3, tp->tm_mon / 3 + 1U); > + break; I don't think we have DO_SIGNED_NUMBER in glibc.