aboutsummaryrefslogtreecommitdiff
path: root/util/season.go
diff options
context:
space:
mode:
Diffstat (limited to 'util/season.go')
-rw-r--r--util/season.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/util/season.go b/util/season.go
index 62645bf..96f7e70 100644
--- a/util/season.go
+++ b/util/season.go
@@ -21,11 +21,11 @@ package util
import (
"time"
"strconv"
- a "github.com/MikunoNaka/MAL2Go/v4/anime"
+ "vidhukant.com/mg"
)
-func GetCurrentSeason() a.Season {
+func GetCurrentSeason() mg.Season {
today := time.Now()
month := today.Format("01")
@@ -43,7 +43,7 @@ func GetCurrentSeason() a.Season {
season = "fall"
}
- return a.Season {
+ return mg.Season {
Name: season,
Year: year,
}