try using numeraljs to do date formatting