From 150d8b40954b4702a8787ce4a1814919647f560a Mon Sep 17 00:00:00 2001 From: Nicholas Wiersma Date: Wed, 22 Jul 2026 19:38:14 +0200 Subject: [PATCH] fix: revert TimeFormat changes --- logger.go | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/logger.go b/logger.go index 1f2c921..5bc3842 100644 --- a/logger.go +++ b/logger.go @@ -8,14 +8,16 @@ import ( "time" ) +// TimeFormat is the format that times will be added in. +// +// TimeFormat defaults to unix time. +var TimeFormat = TimeFormatUnix + // TimeFormatConsole is the default format for the console formatter. // // TimeFormatConsole defaults to kitchen time. var TimeFormatConsole = time.Kitchen -// TimeFormat is the format that times will be added in. -var TimeFormat = "" - // Time formats. const ( TimeFormatUnix = ""