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"