diff --git a/XMPCore/source/XMPUtils.cpp b/XMPCore/source/XMPUtils.cpp index 6a4b8948..69568e8a 100644 --- a/XMPCore/source/XMPUtils.cpp +++ b/XMPCore/source/XMPUtils.cpp @@ -3345,7 +3345,6 @@ XMPUtils::SetTimeZone ( XMP_DateTime * xmpTime ) ansi_localtime ( &now, &tmLocal ); } else { tmLocal.tm_year = xmpTime->year - 1900; - while ( tmLocal.tm_year < 70 ) tmLocal.tm_year += 4; // ! Some versions of mktime barf on years before 1970. tmLocal.tm_mon = xmpTime->month - 1; tmLocal.tm_mday = xmpTime->day; }