Mercurial > minori
diff src/core/anime_db.cc @ 197:c4ca035c565d
*: misc. patches
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Fri, 08 Dec 2023 11:19:54 -0500 |
parents | 9613d72b097e |
children | bc1ae1810855 |
line wrap: on
line diff
--- a/src/core/anime_db.cc Thu Dec 07 16:28:11 2023 -0500 +++ b/src/core/anime_db.cc Fri Dec 08 11:19:54 2023 -0500 @@ -252,7 +252,7 @@ anime.SetUserProgress(JSON::GetNumber(json, "/progress"_json_pointer, 0)); anime.SetUserScore(JSON::GetNumber(json, "/score"_json_pointer, 0)); anime.SetUserDateStarted(Date(JSON::GetValue(json, "/started"_json_pointer))); - anime.SetUserDateStarted(Date(JSON::GetValue(json, "/completed"_json_pointer))); + anime.SetUserDateCompleted(Date(JSON::GetValue(json, "/completed"_json_pointer))); anime.SetUserIsPrivate(JSON::GetBoolean(json, "/private"_json_pointer, false)); anime.SetUserRewatchedTimes(JSON::GetNumber(json, "/rewatched_times"_json_pointer, 0)); anime.SetUserIsRewatching(JSON::GetBoolean(json, "/rewatching"_json_pointer, false));