Document strftime %Ob and %OB as C2X features
Joseph Myers
joseph@codesourcery.com
Thu Aug 22 15:11:00 GMT 2019
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
More information about the Libc-alpha
mailing list