Improve log timestamp format

This commit is contained in:
2023-12-15 06:47:19 -06:00
parent b3b19a8a99
commit f0da57c723
2 changed files with 3 additions and 2 deletions

View File

@@ -104,7 +104,8 @@ func Bot() {
func main() {
log.SetFormatter(&log.TextFormatter{
FullTimestamp: true,
TimestampFormat: "2006-01-02 15:04:05",
FullTimestamp: true,
})
// Load environment variables