This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]