[PATCH] IE compatibility for Date.parse

Harri Porten porten at froglogic.com
Fri Mar 31 19:05:02 BST 2006


Hi!

On Fri, 31 Mar 2006, Aurélien Gâteau wrote:

> I'm a bit ashamed of this patch, but it seems that quite a lot of broken
> Javascript code fail on Date.parse(txt) when txt is in the 'xx/xx/xxxx'
> format (dd/mm/yyyy in France, mm/dd/yyyy elsewhere).
> Real life example is the bank website of one of my customers:
> http://www.bfcoi.com/

Add logic to detect more broken cases is usually fine. One just has to 
take care not to break other cases. Did you execute the Date.js tests (to 
be found in the khtmltests module, there are more in the Mozilla test 
suite) to make sure that nothing breaks?

Harri.


More information about the kfm-devel mailing list