main
alex 2023-09-10 22:27:05 +02:00
parent bbea663825
commit b17238f1ac
1 changed files with 1 additions and 6 deletions

View File

@ -5,7 +5,6 @@ import (
"fmt"
"jannex/admin-dashboard-backend/modules/config"
"os"
"strconv"
"time"
"github.com/gofiber/fiber/v2"
@ -31,11 +30,7 @@ func InitLogger() {
}
func getTime() string {
currentTime := time.Now().UTC()
millisecondsSinceEpoch := currentTime.UnixNano() / int64(time.Millisecond)
return strconv.FormatInt(millisecondsSinceEpoch, 10) + " "
return time.Now().Format("15:04:05 02-01-2006") + " "
}
func AddSystemLog(format string, v ...any) {