How do I stub new Date() using sinon? How do I stub new Date() using sinon? javascript javascript