From 2d742d9afa8ce3cdfe4b0ba3f4fea1426871005c Mon Sep 17 00:00:00 2001
From: Brian Canini <canini.16@osu.edu>
Date: Wed, 22 Jan 2020 11:46:54 -0500
Subject: [PATCH] fixing date replacement bug

---
 web/themes/asc_bootstrap/js/scripts.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/web/themes/asc_bootstrap/js/scripts.js b/web/themes/asc_bootstrap/js/scripts.js
index b0f4a0b447..e520814576 100644
--- a/web/themes/asc_bootstrap/js/scripts.js
+++ b/web/themes/asc_bootstrap/js/scripts.js
@@ -153,7 +153,7 @@ jQuery(document).ready(function(){
     twoDigitMonth = fullDate.getMonth()+1;
 
     if(twoDigitMonth <= 9) {
-      twoDigitMonth = '0' + fullDate.getMonth()+1;
+      twoDigitMonth = '0' + twoDigitMonth;
     }
 
     var currentDate = twoDigitMonth + "/" + fullDate.getDate() + "/" + fullDate.getFullYear();
-- 
GitLab