change format for file

This commit is contained in:
Данил 2023-02-18 21:13:38 +03:00
parent 52c3f9c28e
commit 778c83e85d

View file

@ -14,7 +14,7 @@ import (
func Logger(text string) {
now := time.Now()
file := string(now.Format("01.02.2006")) + ".log"
file := string(now.Format("02.01.2006")) + ".log"
if getDatabase() == 0 {
return