提交 0462bb1b 编写于 作者: T Tao Liu

[TD-424] fix taosParseTime print return

上级 62c55e2e
......@@ -167,7 +167,7 @@ int32_t taosTimeSecToString(time_t ts,char* outstr) {
t = localtime(&ts);
if (NULL == t) return 1;
sprintf(outstr,"%4d-%02d-%02d %02d:%02d:%02d\n", t->tm_year + 1900, t->tm_mon + 1, t->tm_mday, t->tm_hour, t->tm_min, t->tm_sec);
sprintf(outstr,"%4d-%02d-%02d %02d:%02d:%02d", t->tm_year + 1900, t->tm_mon + 1, t->tm_mday, t->tm_hour, t->tm_min, t->tm_sec);
return 0;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册