|
Message-ID: <20140508134435.GA513@muslin> Date: Thu, 8 May 2014 06:44:36 -0700 From: Isaac Dunham <ibid.ag@...il.com> To: musl@...ts.openwall.com Subject: Re: strptime problems On Thu, May 08, 2014 at 12:32:14AM -0400, Rich Felker wrote: > It was raised somewhere (on IRC, I think) that strptime still has some > failure paths where functionality is unimplemented. These should have > been caught and fixed a long time ago, but they weren't, so I'd like > to get it done now. However I'm not clear on what the behavior of > strptime should be when reading "derived" fields that don't actually > correspond to anything in the "struct tm". Should it just parse and > ignore them, or should it somehow convert back? The week-based-year > stuff is probably the biggest question but there are others too. I'd say it shouuld convert back. "%U %w %Y" is enough information to find the day referred to. HTH, Isaac Dunham
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.