[PATCH] IE compatibility for Date.parse

agateau at dental-on-line.fr agateau at dental-on-line.fr
Tue Apr 4 21:31:43 BST 2006


Harri Porten wrote:

> 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.

(Sorry for the late answer, my wife gave birth three days ago)

I didn't run the Date.js tests. After looking around, I found khtmltests (in
trunk/tests/khtmltests) but didn't find any Date.js file. Can you tell me
where it is (or do I need to checkout the whole khtmltests?)

Aurélien





More information about the kfm-devel mailing list