Fixed date issue with submitting files