(function ($) {
    'use strict';

    setNextActivities();
    function setNextActivities() {

        $.ajax({
            url: "/next_activities"
        }).done(function (data) {
            var count = 0;
            var str = '';
            $.each(data, function (index, activity) {

                if(new Date(activity.field_date_1)>new Date() && count <10) {
                    str += '<tr>';
                    str += '<td class="date">' + activity.field_date + '</td>';
                    if (activity.field_lien && activity.field_lien != '') {
                        str += '<td class="title"><a href="' + activity.field_lien + '">' + activity.title + '</a></td>';
                    } else {
                        str += '<td class="title">' + activity.title + '</td>';
                    }
                    str += '<td class="room">' + activity.field_room + '</td>';
                    str += '</tr>';
                    count ++;
                }
            });
            $('.tournaments-home-next table').html(str);
            setTimeout(setNextActivities, 10 * 60 * 1000); //each 10 min
        });

    }
})(jQuery);

@@ -333,16 +333,20 @@
 d_date_1
++%22Z%22
 )%3Enew Da

Fix next activities on start date and not end date