This commit is contained in:
Zheng Kai
2023-06-13 16:02:16 +08:00
parent 408c8c3b6e
commit f815cc68e6
13 changed files with 100 additions and 509 deletions

View File

@@ -22,7 +22,7 @@ func indexName(ts uint32) string {
index = `dev-` + index
}
index = fmt.Sprintf(`%s-%s`, index, time.Unix(int64(ts), 0).Format(`2006-01-02`))
index = fmt.Sprintf(`%s-%s`, index, time.Unix(int64(ts), 0).Format(`2006.01.02`))
return index
}