Fix date display issues with js formatting function.