From 01e95ba7514b48ffb3286e61ce11557f8c681acc Mon Sep 17 00:00:00 2001 From: Kameron Kenny Date: Thu, 18 Jul 2019 16:01:23 -0400 Subject: [PATCH] time --- punch_list/public/js/myFirebase.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/punch_list/public/js/myFirebase.js b/punch_list/public/js/myFirebase.js index 66ea703..1f1485c 100644 --- a/punch_list/public/js/myFirebase.js +++ b/punch_list/public/js/myFirebase.js @@ -1,3 +1,5 @@ +var version = "2019.07.18-1600"; + var config = { apiKey: "AIzaSyA4De5itV56yaOBfBW6Cnk3fS7skPmDCHM", authDomain: "punchlist-1561043639952.firebaseapp.com", @@ -251,7 +253,7 @@ function startPunch(reference) { consoleLog(timerExists); if (timerExists === null || timerExists === '') { consoleLog("createTimer(" + reference + ", " + time + ")"); - var time = new Date(start).getTime(); + var time = new Date().getTime(); createTimer("timer" + reference, time); } } @@ -795,3 +797,4 @@ window.onload = function() { initApp(); }; +document.getElementById("versionInfo").innerHTML = version;