Open pwmarcz opened 11 years ago
That's strange - the code always invokes the original toLocaleDateString method on the original Date object. When I run those commands in Chromium version 28, they work (though may produce the wrong string, as stated in the known issues). What are you running those commands on?
It looks like V8 code checks if
date instanceof Date
(see overrides.js) which fails when Date has been changed.