From 0f7bae25565ac06eeb7fab1738c4a2859d017894 Mon Sep 17 00:00:00 2001 From: j-broo Date: Fri, 8 Nov 2019 21:16:11 +0000 Subject: [PATCH] Update functions.js.php --- lib/functions.js.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/functions.js.php b/lib/functions.js.php index 532787d..1f83ae7 100644 --- a/lib/functions.js.php +++ b/lib/functions.js.php @@ -316,17 +316,17 @@ function add_time_string_to_date(d, time) } if (time == 'month') { - d.setSeconds (d.getSeconds() + 2419200); + d.setSeconds (d.getSeconds() + 2592000); return true; } if (time == 'quarter') { - d.setSeconds (d.getSeconds() + 7257600); + d.setSeconds (d.getSeconds() + 7776000); return true; } if (time == 'year') { - d.setSeconds (d.getSeconds() + 29030400); + d.setSeconds (d.getSeconds() + 31536000); return true; } return false; -- 2.34.1