aboutsummaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorGravatar Eugen Kleiner <ekleiner@infoblox.com> 2018-09-27 09:52:08 +0300
committerGravatar Miek Gieben <miek@miek.nl> 2018-09-27 07:52:08 +0100
commitae2a0c62b71f18e594bc5565b00fb8a4d6ef44fc (patch)
tree708aa8d4cee95b93ad0b2764aa7063fd7c78413c /plugin
parent81484083010aca7a22cfb0d9de480bdb1c05545f (diff)
downloadcoredns-ae2a0c62b71f18e594bc5565b00fb8a4d6ef44fc.tar.gz
coredns-ae2a0c62b71f18e594bc5565b00fb8a4d6ef44fc.tar.zst
coredns-ae2a0c62b71f18e594bc5565b00fb8a4d6ef44fc.zip
plugin/log: Change time format to be consistent with pkg/log (#2135)
Diffstat (limited to 'plugin')
-rw-r--r--plugin/pkg/replacer/replacer.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/pkg/replacer/replacer.go b/plugin/pkg/replacer/replacer.go
index b9e1fcaa6..428bbca92 100644
--- a/plugin/pkg/replacer/replacer.go
+++ b/plugin/pkg/replacer/replacer.go
@@ -164,6 +164,6 @@ func addrToRFC3986(addr string) string {
}
const (
- timeFormat = "02/Jan/2006:15:04:05 -0700"
+ timeFormat = "2006/01/02 15:04:05"
headerReplacer = "{>"
)