Merge pull request #89 from soulcramer/Fix_Explore_Date
🐛 The explore page will now display the anime from the current year.
This commit is contained in:
commit
dd214fdcc9
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user