writeout: add %time{}#18119
Conversation
|
FYIW, Python uses %f as the microseconds specifier, so lots of people will be used to that.
|
da6d1fa to
ce6d408
Compare
Output the current UTC time using strftime format. %f is an extra curl specific flag to output the microsecond fraction of the current second. Verified by test 1981
ce6d408 to
530e327
Compare
|
Some of our compiler warnings sometimes are quite counter productive: On the line above 575, we make sure that the value stored in |
This reverts commit db19158.
|
Is there a better solution than to switch off those warnings (for this code)? |
Disable debug builds? 😬 have you tried |
|
Grr, mingw: struct timeval
{
long tv_sec;
long tv_usec;
}; |
|
So, if I understand the approach correctly here, Do I read this right? Before looking at the details here, I was expecting to have a Can you explain what the advantages of the current approach and the repetition of |
It is still after the transfer was just completed. yes.
I think it is fair to consider a start-time as well, sure. But as my primary use-case here is for logging the transfer, I believe the end time is more useful .
My primary use case is when this is used for logging (I know a real user wanting this). Basically doing |
Output the current UTC time using strftime format.
%fis an extra curl specific flag to output the microsecond fraction of the current second.TODO
curl -h -wwith this PR as it shows a formatting error not seen in the man page => managen: reset text mode at end of table marker #18139