Pagination duplicating values

Pagination duplicating values

GuasyGuasy Posts: 1Questions: 0Answers: 0
edited January 2015 in Free community support

I'm using this function to change the hour to local time:

$(function () {
$('[data-date]').each(function () {
var localDate = new Date(parseInt($(this).attr('data-date')));
$(this).html(localDate.toLocaleTimeString());

    });

Now the data field from the datatable is duplicating the value 2 times in the items that are in the 2nd page:

I'm getting this:

2015/01/22 08:00 2015/01/22 08:00

instead of:

2015/01/22 08:00

Any idea of what is the problem?

This discussion has been closed.