From d725fb031d46dfccf3f84bc0cbc89fa507216c0f Mon Sep 17 00:00:00 2001 From: Morri0on <36809659+Ryananana@users.noreply.github.com> Date: Wed, 27 Dec 2023 22:04:19 +0800 Subject: [PATCH] Chore: Use ISO8601 Timestamp Format in Logs --- log/log.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/log/log.go b/log/log.go index 7b8f2843..b313ad3c 100644 --- a/log/log.go +++ b/log/log.go @@ -47,7 +47,7 @@ func New(options Options) (Factory, error) { DisableColors: logOptions.DisableColor || logFilePath != "", DisableTimestamp: !logOptions.Timestamp && logFilePath != "", FullTimestamp: logOptions.Timestamp, - TimestampFormat: "-0700 2006-01-02 15:04:05", + TimestampFormat: "2006-01-02T15:04:05-0700", } factory := NewDefaultFactory( options.Context,