X-Git-Url: https://git.p6c8.net/jirafeau_project.git/blobdiff_plain/dfa4d5337602a1de5910a95cf0cda85292049a11..28606cf6b85459d37b0b4e45a6114eced94fcf4c:/lib/functions.js.php diff --git a/lib/functions.js.php b/lib/functions.js.php index fbce522..7a1c5af 100644 --- a/lib/functions.js.php +++ b/lib/functions.js.php @@ -232,6 +232,11 @@ function add_time_string_to_date(d, time) d.setSeconds (d.getSeconds() + 2419200); return true; } + if (time == 'quarter') + { + d.setSeconds (d.getSeconds() + 7257600); + return true; + } if (time == 'year') { d.setSeconds (d.getSeconds() + 29030400);