From 61e886a2a3ea6233a7441f8ee5118571bc6520e8 Mon Sep 17 00:00:00 2001 From: Scott Date: Sat, 27 Jan 2018 17:36:00 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20The=20explore=20page=20will=20no?= =?UTF-8?q?w=20display=20the=20anime=20from=20the=20current=20year.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/explore/explore.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pages/explore/explore.go b/pages/explore/explore.go index 73277098..47bf7593 100644 --- a/pages/explore/explore.go +++ b/pages/explore/explore.go @@ -5,11 +5,13 @@ import ( "github.com/animenotifier/arn" "github.com/animenotifier/notify.moe/components" "github.com/animenotifier/notify.moe/utils" + "time" + "strconv" ) // Get ... func Get(ctx *aero.Context) string { - year := "2017" + year := strconv.Itoa(time.Now().Year()) status := "current" typ := "tv" results := filterAnime(year, status, typ)