From 778c83e85d962f8a29a1f17433da1583143248a4 Mon Sep 17 00:00:00 2001 From: Redume Date: Sat, 18 Feb 2023 21:13:38 +0300 Subject: [PATCH] change format for file --- functions/logger.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/logger.go b/functions/logger.go index c193277..e15aa95 100644 --- a/functions/logger.go +++ b/functions/logger.go @@ -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