On 14/09/2022 03:52, Brian Inglis wrote:
[Please Reply All due to email issues]

newlib/libc/time/strftime.c(strftime): add %i, %q, %v, tests; tweak %Z docs
newlib/libc/time/strptime.c(strptime_l): add %i, %q, %v
winsup/cygwin/libc/strptime.cc(__strptime): add %i, %q, %v

%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]

The newlib patches should go to the newlib list.

Do you have a reference for an OS supporting the %i extension? I'm just curious if it specifies the same pivot year for strptime() as POSIX does for %y?

Reply via email to