diff --git a/es-app/src/guis/GuiScraperSearch.cpp b/es-app/src/guis/GuiScraperSearch.cpp index 8fc1ea26d..1d218c877 100644 --- a/es-app/src/guis/GuiScraperSearch.cpp +++ b/es-app/src/guis/GuiScraperSearch.cpp @@ -7,7 +7,7 @@ // to resolve scraping conflicts when run from GuiScraperMenu. // The function to properly save scraped metadata is located here too. // -// This component is called from GuiGameScraper for single-game scraping and +// This GUI is called from GuiGameScraper for single-game scraping and // from GuiScraperMulti for multi-game scraping. // @@ -414,7 +414,9 @@ void GuiScraperSearch::updateInfoPane() mMD_Rating->setValue(""); mMD_Rating->setOpacity(0); } - mMD_ReleaseDate->setValue("99990101T000000"); + // Set the release date to this value to force DateTimeEditComponent to put a + // blank instead of the text 'unknown' prior to the scrape result being returned. + mMD_ReleaseDate->setValue("19700101T010101"); mMD_Developer->setText(""); mMD_Publisher->setText(""); mMD_Genre->setText(""); diff --git a/es-app/src/guis/GuiScraperSearch.h b/es-app/src/guis/GuiScraperSearch.h index 78e62a04c..636451bbb 100644 --- a/es-app/src/guis/GuiScraperSearch.h +++ b/es-app/src/guis/GuiScraperSearch.h @@ -7,7 +7,7 @@ // to resolve scraping conflicts when run from GuiScraperMenu. // The function to properly save scraped metadata is located here too. // -// This component is called from GuiGameScraper for single-game scraping and +// This GUI is called from GuiGameScraper for single-game scraping and // from GuiScraperMulti for multi-game scraping. // diff --git a/es-core/src/components/DateTimeEditComponent.cpp b/es-core/src/components/DateTimeEditComponent.cpp index 03dd0abff..d162bdd07 100644 --- a/es-core/src/components/DateTimeEditComponent.cpp +++ b/es-core/src/components/DateTimeEditComponent.cpp @@ -261,7 +261,7 @@ void DateTimeEditComponent::updateTextCache() // Hack to set date string to blank instead of 'unknown'. // The calling function simply needs to set this string using setValue(). - if (mTime.getIsoString() == "99990101T000000") { + if (mTime.getIsoString() == "19700101T010101") { dispString = ""; } else {