Remove unused JS function

master
Daniel Berteaud 10 years ago
parent 97ebadd6ab
commit a30d341404
  1. 6
      public/js/vroom.js

@ -151,12 +151,6 @@ function getTime(){
return hours + ':' + minutes + ':' + seconds; return hours + ':' + minutes + ':' + seconds;
} }
// Convert a timestamp to readable date
function timeStamp2Date(sec){
var d = new Date(sec*1000);
return d.toLocaleString();
}
// Convert dates from UTC to local TZ // Convert dates from UTC to local TZ
function utc2Local(date) { function utc2Local(date) {
var newDate = new Date(date.getTime()+date.getTimezoneOffset()*60*1000); var newDate = new Date(date.getTime()+date.getTimezoneOffset()*60*1000);

Loading…
Cancel
Save