New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unixtime format is not working on windows #1908
Comments
ralight
added a commit
that referenced
this issue
Nov 26, 2020
Seconds since the Unix epoch is not a parameter that can be obtained with strftime on Windows. Closes #1908. Thanks to Danil intl.
ralight
added a commit
that referenced
this issue
Nov 26, 2020
Seconds since the Unix epoch is not a parameter that can be obtained with strftime on Windows. Closes #1908. Thanks to Danil intl.
Thank you for this report. Unfortunately Unix timestamps aren't supported by the Windows version of strftime. That function was producing an error when you tried it, hence the immediate exit. I've changed it so a message is printed to make it obvious what is going on at least. |
Okay, thanks, you can close the issue. mosquitto_sub -h host -t /# -v -F "%t %p" | perl d:/wrk/tools/moreutils/ts "[%s]" |
fAuernigg
pushed a commit
to fAuernigg/mosquitto
that referenced
this issue
Jan 4, 2021
Seconds since the Unix epoch is not a parameter that can be obtained with strftime on Windows. Closes eclipse#1908. Thanks to Danil intl.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Unixtime format specified via command line arguments is not working on Windows, but works well on Unix.
'mosquitto_sub' exiting right after start
The text was updated successfully, but these errors were encountered: