From: Bjørn Erik Pedersen Date: Wed, 15 Nov 2017 07:52:29 +0000 (+0100) Subject: Use ms precision for static change logging X-Git-Tag: v0.31~20 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=bb048d811d3977adb10656335cd339cd8c945a25;p=brevno-suite%2Fhugo Use ms precision for static change logging --- diff --git a/commands/hugo.go b/commands/hugo.go index 5961ede3..63c5e315 100644 --- a/commands/hugo.go +++ b/commands/hugo.go @@ -888,7 +888,7 @@ func (c *commandeer) newWatcher(port int) error { } c.Logger.FEEDBACK.Println("\nStatic file changes detected") - const layout = "2006-01-02 15:04 -0700" + const layout = "2006-01-02 15:04:05.000 -0700" c.Logger.FEEDBACK.Println(time.Now().Format(layout)) if c.Cfg.GetBool("forceSyncStatic") {