纠正录音保存文件名不带空格 777/3 777/head
authorluozheng <1732036298@qq.com>
Fri, 23 Aug 2024 10:40:13 +0000 (18:40 +0800)
committerluozheng <1732036298@qq.com>
Fri, 23 Aug 2024 10:40:13 +0000 (18:40 +0800)
code/sdk/application/wearable/fd230app/nativeui/record/src/RecordingPresenter.cpp

index ba00207..65a93fb 100644 (file)
@@ -2,7 +2,7 @@
  * @Author: luozheng 1732036298@qq.com\r
  * @Date: 2024-03-30 09:14:38\r
  * @LastEditors: luozheng 1732036298@qq.com\r
- * @LastEditTime: 2024-06-13 15:22:59\r
+ * @LastEditTime: 2024-08-23 18:35:16\r
  * @FilePath: /FD230/code/sdk/application/wearable/fd230app/nativeui/record/src/RecordingPresenter.cpp\r
  */\r
 \r
@@ -151,7 +151,7 @@ namespace OHOS
 \r
         // 格式化输出为上午/下午几点几分几秒\r
         // strftime(formattedDateTime, 80, "%p %I点%M分%S秒", &timeinfo);\r
-        strftime(formattedDateTime, 80, "%p %H %M %S", &timeinfo);\r
+        strftime(formattedDateTime, 80, "%p%H%M%S", &timeinfo);\r
         return 1; // 转换成功\r
     }\r
 \r