Date format bug in internet explorer