From a30d341404cd4971b2e46fcfccf026523356feb2 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Sun, 1 Feb 2015 23:11:17 +0100 Subject: [PATCH] Remove unused JS function --- public/js/vroom.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/public/js/vroom.js b/public/js/vroom.js index 95e6b8b..6527ef7 100644 --- a/public/js/vroom.js +++ b/public/js/vroom.js @@ -151,12 +151,6 @@ function getTime(){ 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 function utc2Local(date) { var newDate = new Date(date.getTime()+date.getTimezoneOffset()*60*1000);