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: Document strftime %Ob and %OB as C2X features


On Thu, 22 Aug 2019, Rafal Luzynski wrote:

> Thank you, Joseph.  This looks good.  While talking about this, I received
> few complains that this piece of documentation which I wrote 1.5 years
> ago is sometimes ambiguous.  It is clear that "%B" is for a full date
> and "%OB" is for a standalone name of a month.  People had questions:
> 
> * what if there is only a day and a month name (not a complete date so
>   people thought it should be "%OB" but the answer is "%B" because there is
>   a day and a month);
> * what if there is only a month name and a year (it's not just a month
>   standalone so people thought it should be "%B" but the answer is "%OB"
>   because there is no day);
> * what if some languages (which I'm not aware of) have different rules?
> 
> Is this the right moment to improve the documentation about this?

I think improvements to this documentation are welcome at any time.

-- 
Joseph S. Myers
joseph@codesourcery.com


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