From 330c94f8e17f7d8ad5f369b2734baabf0516ef82 Mon Sep 17 00:00:00 2001 From: nxshock Date: Mon, 28 Mar 2022 19:55:21 +0500 Subject: [PATCH] Compact time format --- config.go | 2 +- gron.conf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config.go b/config.go index 6d3d741..11b7180 100644 --- a/config.go +++ b/config.go @@ -12,7 +12,7 @@ import ( var config Config type Config struct { - TimeFormat string `default:"02.01.2006 15:04:05"` + TimeFormat string `default:"02.01.2006 15:04"` JobConfigsPath string `default:"gron.d"` LogFilePath string `default:"gron.log"` // core log file path LogFilesPath string `default:"logs"` // job log files path diff --git a/gron.conf b/gron.conf index f5d6541..a829226 100644 --- a/gron.conf +++ b/gron.conf @@ -1,4 +1,4 @@ -TimeFormat = "02.01.2006 15:04:05" +TimeFormat = "02.01.2006 15:04" JobConfigsPath = "gron.d" LogFilePath = "gron.log" LogFilesPath = "logs"