Replace date formats unavailable for MingW
MingW does not have %e and %T formatters, so replace them.
%e is replaced by %d which has leading zeros.
@@ -73,7 +73,7 @@ wsman_debug_message_handler(const char *str, debug_level_e level, void *user_dat
time(&now);
tm = localtime(&now);
if (tm) {
- strftime(timestr, 128, "%b %e %T", tm);
+ strftime(timestr, 128, "%b %d %H:%M:%S", tm);
fprintf(stderr, "%s %s\n", timestr, str);
}
}
