X-Git-Url: https://git.p6c8.net/jirafeau_mojo42.git/blobdiff_plain/96f7e6adb9a69aa1d39a17d7332b2dcc625bd543..4fd0b8093465acb7951d707f6aa19d4e71e04aec:/lib/functions.js.php?ds=inline

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;