Disable automatic Date parsing in HtmlUnit
- by submonoid
Having just upgraded to a newer version of HtmlUnit (2.4), I've noticed certain tests are failing when comparing the output of asText. Looking into the differences, this is because dates (present on the page in the format 11/06/2010 00:00z) are being altered in the output to read 2010-06-11.
Has anybody else encountered this, and can anybody advise how to turn off this (seemingly undocumented) feature of asText, which seems to go completely against the advised documentation.