[PATCH] strftime: support %q to output the quarter of year

Adhemerval Zanella adhemerval.zanella@linaro.org
Thu Nov 3 20:28:00 GMT 2016



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.



More information about the Libc-alpha mailing list