diff --git a/cydiapomonella/templates/cydiapomonella/index.html b/cydiapomonella/templates/cydiapomonella/index.html index 5d3a250f43097c6cef627cfa293ed64368dd7193..31f8751557b0fa5f9b85fee9ef630c0252e6be76 100644 --- a/cydiapomonella/templates/cydiapomonella/index.html +++ b/cydiapomonella/templates/cydiapomonella/index.html @@ -481,8 +481,8 @@ } $('#idSpanWeatherStationName').html($('#weatherStationId').find(':selected').text()); - $('#idSpanStartDate').html(moment($('#idTxtDateInput').val()).format("DD.MM.YYYY")); - $('#idSpanEndDate').html(moment(JSON.stringify(dateYesterday).substring(1,11)).format("DD.MM.YYYY")); + $('#idSpanStartDate').html($('#idTxtDateInput').val()); + $('#idSpanEndDate').html(JSON.stringify(dateYesterday).substring(1,11)); $('#idDivResultNonNegative').html(Math.round(TM_NON_NEGATIVE)); $('#idSpanDateDifference').html(dateDifferenceInDays(new Date($('#idTxtDateInput').val()), new Date())); } @@ -512,7 +512,7 @@ "mData" : "resultDate", "render" : function(data, type, full, meta) { - return moment(data).format("DD.MM.YYYY"); + return data; }, "sClass" : "colCenter", "bSortable" : false