This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] strftime: support %q to output the quarter of year
On 03/11/2016 17:58, Florian Weimer wrote:
> * Pádraig 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.
>
Indeed and you need to indicate how/where exactly you have tested
it.