[PATCH] strftime.c(__strftime): add %q, %v, tests; tweak %Z doc
Corinna Vinschen
vinschen@redhat.com
Mon Oct 24 12:07:16 GMT 2022
Hi Brian,
On Oct 21 23:13, Brian Inglis wrote:
> + case CQ('v'): /* BSD/OSX/Ruby extension VMS/Oracle date format
> + from Arnold Robbins strftime version 3.0 */
> + { /* %v is equivalent to "%e-%b-%Y", flags and width can change year
^^^^^
pad?
> + format. Recurse to avoid need to replicate %b and %Y formation. */
Sorry for being a nag, but doesn't that introduce an incompatible
change? The BSDs don't handle pad and width, they just call
_fmt("%e-%b-%Y", ...). Or am I missing how the BSD function works?
Corinna
More information about the Newlib
mailing list