This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Document strftime %Ob and %OB as C2X features
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Rafal Luzynski <digitalfreak at lingonborough dot com>
- Cc: Florian Weimer <fweimer at redhat dot com>, <libc-alpha at sourceware dot org>
- Date: Thu, 22 Aug 2019 15:11:49 +0000
- Subject: Re: Document strftime %Ob and %OB as C2X features
- Ironport-sdr: 68I1XuUt1i2RXIji0oizlUIOzSnYrNnXDxcBM3/EzL6vvbNaaCkHMqw4fHFQ8pv4MefJp8mIH4 8kbOZgm9t48PjV1jdjB3pJjICGTDgNXhwN42iLyZ/1mKOz3cQ/2fWNJ+jg0Lyd0rH1N2OooGfJ un5gcZ1+Jy81nEV/5cSV96ejmXCjCyLZ9g4K0E/b4jCpkNkY9qUUpBZyamRo5hxm5Z+iRtDASc pLeEfmMDFW1OI53RHWMmYdMRFh+jMufuddrEKnIi7fSgWXHRa37uDzVHY4D7m6oMuuc8Q3+eFP FOY=
- Ironport-sdr: azjfVLEH+j/WnJzZbq4ym4LmSBRI4bH522AhSHHRzGB4+tzZOR0PXBoHJ/cTj452HraJBvadvh PAWjY/b+YZm8R/Gnvj9vhj4qCwRe/skWoWNYVQ+wKpTVLMWb/2h6i427NDOhHmHWOWEuBapmzj BGBqKj9Nzsh9TGatJQNEeYvuFJzUaC3sOIN8av2txgK5Ov1RMk6I49Ac/V8qf9bwIlVO0lWCHt qw7gXYOktQ321eZjjYPCYGx9YcaeAfK27pE2xwZDGJO0QBPLGVodU7APDvrbRTY23b9bohsk1w r34=
- References: <alpine.DEB.2.21.1908151743300.16610@digraph.polyomino.org.uk> <87tvai2u3e.fsf@oldenburg2.str.redhat.com> <alpine.DEB.2.21.1908211938300.25161@digraph.polyomino.org.uk> <1284689636.804224.1566467753790@poczta.nazwa.pl>
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