[PATCH 1/2] strftime.c(__strftime): add %i, %q, %v, tests; tweak %Z docs
Brian Inglis
Brian.Inglis@SystematicSW.ab.ca
Sat Sep 17 05:00:03 GMT 2022
newlib/libc/time/strftime.c(__strftime):
%i year in century [00..99] Synonym for "%y". Non-POSIX extension. [tm_year]
%q GNU quarter of the year (from `<<1>>' to `<<4>>') [tm_mon]
%v OSX/Ruby VMS/Oracle date "%d-%b-%Y". Non-POSIX extension. [tm_mday, tm_mon, tm_year]
add %i %q %v tests
%Z clarify current time zone *abbreviation* not "name" [tm_isdst]
---
newlib/libc/time/strftime.c | 67 +++++++++++++++++++++++++++++++++++--
1 file changed, 64 insertions(+), 3 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-strftime.c-__strftime-add-i-q-v-tests-tweak-Z-docs.patch
Type: text/x-patch
Size: 7077 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/newlib/attachments/20220916/1da5bf68/attachment-0001.bin>
More information about the Newlib
mailing list