f
This commit is contained in:
@@ -104,11 +104,11 @@ func getCurrentDate() string {
|
||||
}
|
||||
|
||||
// formatDateForTemplate 格式化日期用于模板填写
|
||||
// 格式: "2006年01月02日"
|
||||
// e签宝日期控件通常预设为 yyyy-MM-dd,与中文年月日格式不兼容时需用本格式。
|
||||
//
|
||||
// 返回: 中文格式的日期字符串
|
||||
// 返回: yyyy-MM-dd
|
||||
func formatDateForTemplate() string {
|
||||
return time.Now().Format("2006年01月02日")
|
||||
return time.Now().Format("2006-01-02")
|
||||
}
|
||||
|
||||
// generateFileName 生成带时间戳的文件名
|
||||
|
||||
Reference in New Issue
Block a user