🔊 v0.3.0 计划任务(定期备份等场景)

This commit is contained in:
naiba committed 2021-01-19 09:59:04 +08:00
1 parent b9c4782679
commit 29cee9865e
24 files changed
+417 -38

No files matched your search

+1 -1
View File
@@ -22,7 +22,7 @@ func ServeWeb(port uint) {
r.Use(mygin.RecordPath)
r.SetFuncMap(template.FuncMap{
"tf": func(t time.Time) string {
return t.Format("2006年1月2号")
return t.Format("2006年1月2号 15:04:05")
},
"safe": func(s string) template.HTML {
return template.HTML(s)