From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from omta002.cacentral1.a.cloudfilter.net (omta002.cacentral1.a.cloudfilter.net [3.97.99.33]) by sourceware.org (Postfix) with ESMTPS id D3DB5395B064 for ; Sat, 17 Sep 2022 05:00:19 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org D3DB5395B064 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=SystematicSW.ab.ca Authentication-Results: sourceware.org; spf=none smtp.mailfrom=systematicsw.ab.ca Received: from shw-obgw-4003a.ext.cloudfilter.net ([10.228.9.183]) by cmsmtp with ESMTP id ZKKqoAL1fSp39ZPwBoUQfb; Sat, 17 Sep 2022 05:00:19 +0000 Received: from localhost.localdomain ([184.64.124.72]) by cmsmtp with ESMTP id ZPwAopt2tg786ZPwBoOIVe; Sat, 17 Sep 2022 05:00:19 +0000 X-Authority-Analysis: v=2.4 cv=a94jSGeF c=1 sm=1 tr=0 ts=63255463 a=oHm12aVswOWz6TMtn9zYKg==:117 a=oHm12aVswOWz6TMtn9zYKg==:17 a=9pJ1AMZdf05kdrFBZ94A:9 From: Brian Inglis To: Newlib Subject: [PATCH 0/2] strftime.c, strptime.c: add %i, %q, %v, tests; tweak %Z docs Date: Fri, 16 Sep 2022 23:00:02 -0600 Message-Id: <20220917050005.5758-1-Brian.Inglis@SystematicSW.ab.ca> X-Mailer: git-send-email 2.37.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4xfH9kzoB3fo8rnhaBYWzHb4GB/0baRGbMgxACrxKNVRQ1J+XFAJcY+wgZbLFeRietQbtvj4pzHpWiJa/xGdCSwEd7crw421X6RALCqOKNKobqpdJcn6Yo n3K83wyIBOeR83zoCDSYZCfHoxqC27nnTq6tqBDwmDFnpehb8PlSqjixZPBrITJZVPRbmIsS8EXZxgRzZxsydMNp+PFoV4u22IZHF2IIPNZ+5vT15XLoYfwY RMUjwzN9FB46s4rTELlRDMZ8VwYLd6a3A3Uo3bifGBU= X-Spam-Status: No, score=-1163.8 required=5.0 tests=BAYES_00,KAM_DMARC_STATUS,KAM_LAZY_DOMAIN_SECURITY,SPF_HELO_NONE,SPF_NONE,TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: [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