From 071428bcf519db25068132dd2acdcf2456c4fc59 Mon Sep 17 00:00:00 2001 From: James Shiffer Date: Mon, 21 Sep 2020 11:27:55 -0700 Subject: [PATCH] added date to marquee text --- public/js/marquee.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/js/marquee.js b/public/js/marquee.js index 8d82c5b..0ee2962 100644 --- a/public/js/marquee.js +++ b/public/js/marquee.js @@ -2,7 +2,7 @@ var marq = document.querySelector('marquee'); var timeStr, stockPriceDelta, stockPriceDirection; var i = 0; function updateTimestamp() { - timeStr = new Date().toLocaleTimeString(); + timeStr = new Date().toLocaleString(); } function updateStockPrice() { stockPriceDelta = Math.floor(Math.random() * 10000) / 100;