1
0
mirror of https://github.com/nxshock/gron.git synced 2024-11-27 03:41:00 +05:00

Compact time format

This commit is contained in:
nxshock 2022-03-28 19:55:21 +05:00
parent f4526f2b7b
commit 330c94f8e1
2 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ import (
var config Config var config Config
type Config struct { 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"` JobConfigsPath string `default:"gron.d"`
LogFilePath string `default:"gron.log"` // core log file path LogFilePath string `default:"gron.log"` // core log file path
LogFilesPath string `default:"logs"` // job log files path LogFilesPath string `default:"logs"` // job log files path

View File

@ -1,4 +1,4 @@
TimeFormat = "02.01.2006 15:04:05" TimeFormat = "02.01.2006 15:04"
JobConfigsPath = "gron.d" JobConfigsPath = "gron.d"
LogFilePath = "gron.log" LogFilePath = "gron.log"
LogFilesPath = "logs" LogFilesPath = "logs"