fixing failing date check
Merge pull request #6093 from guardian/fix-timestamp-test

fixing failing date check