Re: Cygwin strptime() is missing "%s" which strftime() has
- Date: Mon, 24 Jul 2017 19:45:41 +0000
- From: "Lavrentiev, Anton (NIH/NLM/NCBI) [C]" <lavr@xxxxxxxxxxxxxxxx>
- Subject: Re: Cygwin strptime() is missing "%s" which strftime() has
> Demand. I patches strftime to add %s because Coreutils wanted it. But
> coreutils doesn't use strptime, so I had no reason to add it.
Well, I was bringing up a point of API inconsistency, hoping that it'd serve as an
implicit request for an improvement so that strptime() gets its "%s"...
Maybe coreutils did not need "%s" for strptime, but dateutils certainly do, as:
> date +"%s" | strptime "%s"
does not work on Cygwin. That looks odd.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple