- fix invalid date issue on firefox