From c9731b2c2a4ac68d9f895e7513c014744629e406 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Sat, 8 Apr 2017 18:02:36 +0200 Subject: [PATCH] hugolib: Delay deletion of Page.Now() Looking at the state of the themes, it will be too painful to log ERROR now. --- hugolib/page.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hugolib/page.go b/hugolib/page.go index 259b2fb92..677343f1f 100644 --- a/hugolib/page.go +++ b/hugolib/page.go @@ -1506,8 +1506,8 @@ func (p *Page) copy() *Page { } func (p *Page) Now() time.Time { - // Delete in Hugo 0.21 - helpers.Deprecated("Page", "Now", "Use now (the template func)", true) + // Delete in Hugo 0.22 + helpers.Deprecated("Page", "Now", "Use now (the template func)", false) return time.Now() }