This commit is contained in:
Daniel 2024-10-18 14:53:21 +08:00
parent 6c4a72b16e
commit ac4b0526a4
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
2 changed files with 3 additions and 3 deletions

View file

@ -425,6 +425,7 @@ func RenderTemplateCol(ial map[string]string, rowValues []*av.KeyValues, tplCont
dataModel["created"] = created
} else {
errMsg := parseErr.Error()
//logging.LogWarnf("parse created [%s] failed: %s", createdStr, errMsg)
if strings.Contains(errMsg, "minute out of range") {
// parsing time "20240709158553": minute out of range
// 将分秒部分置为 0000