This is kind of annoying because Date implements toJSON so JSON.stringify turns it into a string before calling our replacer function. DiffTrain build for commit https://github.com/facebook/react/commit/c6db19f9cdec34bca3625a483a2f85181193b885.