时间戳间隔修改

main
grimm 2023-12-26 13:50:11 +08:00
parent e70774bc7f
commit 2ced973463
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ show_file(){
# 获取当前时间,精确到秒,格式年月日时分秒
get_current_time() {
local current_time
current_time=$(date +"%Y%m%d%H%M%S")
current_time=$(date +"%Y_%m_%d_%H_%M_%S")
echo "$current_time"
}