returning old talk date format

legacy_v1
mwinter 3 years ago
parent 59c7d46796
commit ef3d2314f7

@ -295,7 +295,8 @@ function formatDate(date) {
date.setHours(date.getHours() + (offset / 60)); date.setHours(date.getHours() + (offset / 60));
date = alterDate(date); date = alterDate(date);
return ("0" + (date.getMonth() + 1)).slice(-2) + "." + date.getFullYear(); return ("0" + (date.getMonth() + 1)).slice(-2) + "." + ("0" + date.getDate()).slice(-2) + "." + date.getFullYear();
//return ("0" + (date.getMonth() + 1)).slice(-2) + "." + date.getFullYear();
} }
function openToggle(toggle){ function openToggle(toggle){

Loading…
Cancel
Save