Fix invalid date error on node 0.8.11

On Nitrious.IO which runs node 0.8.11, this test fails due to it not liking dashes in dates.