diff include/core/anime_db.h @ 327:b5d6c27c308f

anime: refactor Anime::SeriesSeason to Season class ToLocalString has also been altered to take in both season and year because lots of locales actually treat formatting seasons differently! most notably is Russian which adds a suffix at the end to notate seasons(??)
author Paper <paper@paper.us.eu.org>
date Thu, 13 Jun 2024 01:49:18 -0400
parents 10096c5489e3
children
line wrap: on
line diff
--- a/include/core/anime_db.h	Thu Jun 13 00:42:00 2024 -0400
+++ b/include/core/anime_db.h	Thu Jun 13 01:49:18 2024 -0400
@@ -35,7 +35,7 @@
 	/* when syncing we don't want to keep deleted anime */
 	void RemoveAllUserData();
 
-	std::vector<int> GetAllAnimeForSeason(SeriesSeason season, Date::Year year);
+	std::vector<int> GetAllAnimeForSeason(Season season);
 };
 
 extern Database db;