eventClick: function( event, jsEvent, view ) {
// Position of the event that was clicked on, from 0 (start) to 1 (end)
var click_position = jsEvent.offsetX / $(
jsEvent.target).closest('.fc-content').width()
// How long the event is in seconds
var event_duration = moment.duration(event.end.diff(event.start)).asSeconds()
// Scale the duration by the click position to get the time that was clicked on
var seconds_after_start = event_duration * click_position
var click_time = event.start.add(seconds_after_start, 's')
console.log(click_time.format())
}