NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: lib/55436: strptime does not process %G or %V

The following reply was made to PR lib/55436; it has been noted by GNATS.

From: "James K. Lowden" <>
Subject: Re: lib/55436: strptime does not process %G or %V
Date: Wed, 1 Jul 2020 18:57:41 -0400

 On Wed,  1 Jul 2020 05:40:02 +0000 (UTC)
 Robert Elz <kre%munnari.OZ.AU@localhost> wrote:
 >  The point of all of these is not so much that they can be used to
 > parse a time string and extract info from them, but so the output
 > from strftime can be read, without error, by a suitably constructed
 > strptime specification. 
 Thank you very much for the explanation.  I'm astonshed by POSIX's
 rationale.  I don't see how skipping over metacharacter sequences
 without parsing them into the output helps anyone.  It's a recipe for
 I note that on my system, no mention is made on the man page for
 strptime that %G and %V are accepted but inoperative.  
 I just spent two days working around this ... feature.  Would NetBSD be
 interested in a patch that makes the unspecified result useful?  

Home | Main Index | Thread Index | Old Index