workaround for bug in Date::Time::str2time()