ff/ie bug where new Date(date) loses millis