From e5ac1317e203afbe7d711b0b5a971c09bdee1d86 Mon Sep 17 00:00:00 2001 From: xoy Date: Sat, 28 Jan 2023 22:08:37 +0100 Subject: [PATCH] fehlerbehebung --- func.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/func.go b/func.go index 20b4f4f..55139a5 100644 --- a/func.go +++ b/func.go @@ -9,8 +9,8 @@ import ( ) func logger(input string) { - println("[" + time.Now().Format("15:04:05") + "] " + input) - fileAddLine("["+time.Now().Format("15:04:05")+"] "+input, "./log/"+time.Now().Format("2006-02-01")+".log") + println("[" + time.Now().Format("15:04:05 UTC+1") + "] " + input) + fileAddLine("["+time.Now().Format("15:04:05 UTC+1")+"] "+input, "./log/"+time.Now().Format("2006-02-01")+".log") } func handler() {