public inbox for newlib@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/2] strftime.c, strptime.c: add %i, %q, %v, tests; tweak %Z docs
@ 2022-09-17  5:00 Brian Inglis
  2022-09-17  5:00 ` [PATCH 1/2] strftime.c(__strftime): " Brian Inglis
  2022-09-17  5:00 ` [PATCH 2/2] strptime.c(strptime_l): add %i, %q, %v Brian Inglis
  0 siblings, 2 replies; 8+ messages in thread
From: Brian Inglis @ 2022-09-17  5:00 UTC (permalink / raw)
  To: Newlib

[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

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

Brian Inglis (2):
  strftime.c(__strftime): add %i, %q, %v, tests; tweak %Z docs
  strptime.c(strptime_l): add %i, %q, %v

 newlib/libc/time/strftime.c    | 67 ++++++++++++++++++++++++++++++++--
 newlib/libc/time/strptime.c    | 18 ++++++++-
 2 files changed, 85 insertions(+), 3 deletions(-)

-- 
2.37.2


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-10-21 20:44 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-17  5:00 [PATCH 0/2] strftime.c, strptime.c: add %i, %q, %v, tests; tweak %Z docs Brian Inglis
2022-09-17  5:00 ` [PATCH 1/2] strftime.c(__strftime): " Brian Inglis
     [not found]   ` <BN2P110MB15443B0E0009D450989B3ECF9A4D9@BN2P110MB1544.NAMP110.PROD.OUTLOOK.COM>
     [not found]     ` <CANk6obSE2DshJD2ZDwxQodFhjmdqKQG9Q0MaCiSEC9ho4Nt31A@mail.gmail.com>
2022-09-19 23:21       ` Fw: " Brian Inglis
2022-10-18 14:03       ` Corinna Vinschen
2022-10-20 22:07         ` Brian Inglis
2022-10-21 12:12           ` Corinna Vinschen
2022-10-21 20:43             ` Brian Inglis
2022-09-17  5:00 ` [PATCH 2/2] strptime.c(strptime_l): add %i, %q, %v Brian Inglis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).