Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
curl: show the libcurl release date in --version output #1474
... and support and additional "security patched" date for those who
Also: change the date format generated in the
Suggested-by: Brian Childs
Yes I think that looks better. And with the shorter date format the line is still reasonably sized.
I also think I need to come up with something nicer when building from git as right now it makes the date become "DEV" which I'm sure will cause some issues going forward.
You think suppressing is better? I actually like seeing and stating that it isn't a "blessed" release build and suppressing it makes it less obvious...
It occurred to me after my last update here that I could get an
... and support and additional "security patched" date for those who enhance older versions that way. Pass on the define CURL_PATCHSTAMP with a date for that. Building with non-release headers shows the date as [unreleased]. Also: this changes the date format generated in the curlver.h file to be "YYYY-MM-DD" (no name of the day or month, no time, no time zone) to make it easier on the eye and easier to parse. Example (new) date string: 2017-05-09 Suggested-by: Brian Childs