diff --git a/console_handler.go b/console_handler.go index dd8bcab..ff88143 100644 --- a/console_handler.go +++ b/console_handler.go @@ -16,7 +16,7 @@ func NewConsoleHandler() *ConsoleHandler { } func (c *ConsoleHandler) Handle(ctx context.Context, record slog.Record) error { - timestamp := time.Now().Format("2006-01-02T15:04:05.000Z07:00") + timestamp := time.Now().UTC().Format("2006-01-02T15:04:05.000Z07:00") var colorFunc func(format string, a ...interface{}) string switch record.Level {