From 0f6f31b4cdccee59361e7e857cdf3340629cb348 Mon Sep 17 00:00:00 2001 From: Adam Mathes Date: Thu, 9 Feb 2017 21:16:23 -0800 Subject: parse time in local timezon context --- render/render.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'render') diff --git a/render/render.go b/render/render.go index fa768ca..1606305 100644 --- a/render/render.go +++ b/render/render.go @@ -5,6 +5,7 @@ import ( "adammathes.com/snkt/config" "io/ioutil" "log" + "adammathes.com/snkt/vlog" "os" "path" "path/filepath" @@ -28,7 +29,7 @@ type Renderable interface { func Write(a Renderable) { if config.Config.Verbose { - log.Printf("Writing to %s\n", a.Target()) + vlog.Printf("Writing to %s\n", a.Target()) } os.MkdirAll(path.Dir(a.Target()), 0755) err := ioutil.WriteFile(a.Target(), a.Render(), 0755) -- cgit v1.2.3