Skip to content
Snippets Groups Projects
Commit f3090895 authored by Tor-Einar Skog's avatar Tor-Einar Skog
Browse files

Changed the date format back again - to align with the rest of the VIPS

web app
parent 1710004d
No related branches found
No related tags found
No related merge requests found
...@@ -481,8 +481,8 @@ ...@@ -481,8 +481,8 @@
} }
$('#idSpanWeatherStationName').html($('#weatherStationId').find(':selected').text()); $('#idSpanWeatherStationName').html($('#weatherStationId').find(':selected').text());
$('#idSpanStartDate').html(moment($('#idTxtDateInput').val()).format("DD.MM.YYYY")); $('#idSpanStartDate').html($('#idTxtDateInput').val());
$('#idSpanEndDate').html(moment(JSON.stringify(dateYesterday).substring(1,11)).format("DD.MM.YYYY")); $('#idSpanEndDate').html(JSON.stringify(dateYesterday).substring(1,11));
$('#idDivResultNonNegative').html(Math.round(TM_NON_NEGATIVE)); $('#idDivResultNonNegative').html(Math.round(TM_NON_NEGATIVE));
$('#idSpanDateDifference').html(dateDifferenceInDays(new Date($('#idTxtDateInput').val()), new Date())); $('#idSpanDateDifference').html(dateDifferenceInDays(new Date($('#idTxtDateInput').val()), new Date()));
} }
...@@ -512,7 +512,7 @@ ...@@ -512,7 +512,7 @@
"mData" : "resultDate", "mData" : "resultDate",
"render" : function(data, type, full, meta) "render" : function(data, type, full, meta)
{ {
return moment(data).format("DD.MM.YYYY"); return data;
}, },
"sClass" : "colCenter", "sClass" : "colCenter",
"bSortable" : false "bSortable" : false
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment