zero-pad date string output.
2019/ 5/ 9 21:18:01:710 notice -> 2019/05/09 21:18:01:710 notice
@@ -812,11 +812,11 @@ u8 * format_timeval (u8 * s, va_list * args)
break;
case 'm':
what = tm->tm_mon + 1;
- what_fmt = "%2d";
+ what_fmt = "%02d";
break;
case 'd':
what = tm->tm_mday;
- what_fmt = "%2d";
+ what_fmt = "%02d";
break;
case 'H':
what = tm->tm_hour;
