function update_detecttime_for_event(e, event, history) {
    event.detect_time = $("input#event-detect-input-time").val();
    event.timezone = $('#current_tz').text();

    update_undetected_time();