Fixing date issue triggered by files without date/time info in header