mirror of
https://github.com/nxshock/gron.git
synced 2025-07-01 00:13:36 +05:00
Compact time format
This commit is contained in:
parent
f4526f2b7b
commit
330c94f8e1
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
|
@ -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"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue