upload time format with moment.js