Fix Date(), which is not equivalent to new Date()