diff src/gui/widgets/anime_button.cc @ 324:5d3c9b31aa6e

anime: add completed date member
author Paper <paper@paper.us.eu.org>
date Wed, 12 Jun 2024 23:03:22 -0400
parents b82841e76e79
children 6b0768158dcd
line wrap: on
line diff
--- a/src/gui/widgets/anime_button.cc	Wed Jun 12 22:48:16 2024 -0400
+++ b/src/gui/widgets/anime_button.cc	Wed Jun 12 23:03:22 2024 -0400
@@ -92,7 +92,7 @@
 
 	{
 		const QLocale& locale = session.config.locale.GetLocale();
-		_info.GetData()->setText(locale.toString(anime.GetAirDate().GetAsQDate(), "dd MMM yyyy") + "\n" +
+		_info.GetData()->setText(locale.toString(anime.GetStartedDate().GetAsQDate(), "dd MMM yyyy") + "\n" +
 		                         QString::number(anime.GetEpisodes()) + "\n" +
 		                         Strings::ToQString(Strings::Implode(anime.GetGenres(), ", ")) + "\n" + "...\n" +
 		                         QString::number(anime.GetAudienceScore()) + "%\n" + "...");