fixed: fairly certain nobody watches tv from the first or second century
authorspiff <spiff@xbmc.org>
Tue, 19 Jul 2011 15:31:49 +0000 (17:31 +0200)
committerspiff <spiff@xbmc.org>
Tue, 19 Jul 2011 15:32:32 +0000 (17:32 +0200)
xbmc/addons/Scraper.cpp

index 9556403..f04871e 100644 (file)
@@ -784,7 +784,7 @@ EPISODELIST CScraper::GetEpisodeList(XFILE::CFileCurl &fcurl, const CScraperUrl
         {
           tm tm;
           if (strptime(sDate, "%Y-%m-%d", &tm))
-            ep.cDate.SetDate(tm.tm_year, tm.tm_mon + 1, tm.tm_mday);
+            ep.cDate.SetDate(1900+tm.tm_year, tm.tm_mon + 1, tm.tm_mday);
         }
         vcep.push_back(ep);
       }