We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e813c99 + 9bf9810 commit dd5cb78Copy full SHA for dd5cb78
src/Commander-API-Commands.cpp
@@ -73,7 +73,7 @@ void commander_uptime_func( char *args, Stream *response ){
73
minute = second / 60;
74
second %= 60;
75
76
- sprintf( buff, "%d days, %d:%d:%lu", day, hour, minute, second );
+ sprintf( buff, "%d days, %d:%02d:%02lu", day, hour, minute, second );
77
78
response -> print( buff );
79
0 commit comments