Use moment.js for date manipulation
Only 1 time record can be edited at once