Update dlog to master which just calls time.Local()

maybe
fixes #57
This commit is contained in:
Frank Denis 2018-01-31 10:14:06 +01:00
parent 148d900a72
commit 1bbc7e9540
3 changed files with 6 additions and 6 deletions

6
Gopkg.lock generated
View File

@ -70,8 +70,8 @@
[[projects]]
name = "github.com/jedisct1/dlog"
packages = ["."]
revision = "0d0a83a16acaa8b0ef7bc59ede730ef3581d5b7b"
version = "0.1"
revision = "2318da0182ccf19c77f0dab8a97c5eacd111cb84"
version = "0.2"
[[projects]]
branch = "master"
@ -144,6 +144,6 @@
[solve-meta]
analyzer-name = "dep"
analyzer-version = 1
inputs-digest = "bc1445a5fcbd79fa69be22317b6ae0e801d20dd67b39223ce25a2ee5f75ab49e"
inputs-digest = "7b78a3bd9d050e52892939c38491c43a50dcbd851b990fa570439be12a1bd8d2"
solver-name = "gps-cdcl"
solver-version = 1

View File

@ -27,8 +27,8 @@
name = "github.com/hashicorp/golang-lru"
[[constraint]]
branch = "master"
name = "github.com/jedisct1/dlog"
version = "0.1.0"
[[constraint]]
branch = "master"
@ -44,7 +44,7 @@
[[constraint]]
name = "github.com/miekg/dns"
version = "1.0.3"
version = "1.0.4"
[[constraint]]
branch = "master"

View File

@ -173,7 +173,7 @@ func logf(severity Severity, format string, args ...interface{}) {
if severity < _globals.logLevel.get() {
return
}
now := time.Now()
now := time.Now().Local()
year, month, day := now.Date()
hour, minute, second := now.Clock()
message := fmt.Sprintf(format, args...)