From: luozheng <1732036298@qq.com> Date: Fri, 23 Aug 2024 10:40:13 +0000 (+0800) Subject: 纠正录音保存文件名不带空格 X-Git-Tag: release_V1.2.70_20241020_135402~549^2~30 X-Git-Url: http://git.snicker.com.cn/css/static/gitweb.css?a=commitdiff_plain;h=23908ae55708679961847ba2c700a5cc0f8ec081;p=mirrors%2FFD230.git 纠正录音保存文件名不带空格 --- diff --git a/code/sdk/application/wearable/fd230app/nativeui/record/src/RecordingPresenter.cpp b/code/sdk/application/wearable/fd230app/nativeui/record/src/RecordingPresenter.cpp index ba0020720..65a93fbb9 100644 --- a/code/sdk/application/wearable/fd230app/nativeui/record/src/RecordingPresenter.cpp +++ b/code/sdk/application/wearable/fd230app/nativeui/record/src/RecordingPresenter.cpp @@ -2,7 +2,7 @@ * @Author: luozheng 1732036298@qq.com * @Date: 2024-03-30 09:14:38 * @LastEditors: luozheng 1732036298@qq.com - * @LastEditTime: 2024-06-13 15:22:59 + * @LastEditTime: 2024-08-23 18:35:16 * @FilePath: /FD230/code/sdk/application/wearable/fd230app/nativeui/record/src/RecordingPresenter.cpp */ @@ -151,7 +151,7 @@ namespace OHOS // 格式化输出为上午/下午几点几分几秒 // strftime(formattedDateTime, 80, "%p %I点%M分%S秒", &timeinfo); - strftime(formattedDateTime, 80, "%p %H %M %S", &timeinfo); + strftime(formattedDateTime, 80, "%p%H%M%S", &timeinfo); return 1; // 转换成功 }