Use moment.js to format time