shorter date, few cosmetic label changes

This commit is contained in:
ville rantanen
2017-06-13 19:48:31 +03:00
parent edc41be7e2
commit 7c3c816798
2 changed files with 11 additions and 9 deletions

View File

@@ -14,7 +14,7 @@ function getDate(){
var day = d.getDate();
var month = 1+d.getMonth();
if (month < 10) { month = "0" + month; }
var year = d.getFullYear();
var year = d.getFullYear().toString().substr(-2);
return year+"-"+month+"-"+day+" "+hr+":"+min
}