]> git.p6c8.net - jirafeau_project.git/blobdiff - lib/functions.js.php
Add more details about upload error
[jirafeau_project.git] / lib / functions.js.php
index 14fad1da5fa98eadc2473c90cba890ad6161cba3..2127dbbb3f6201700b94bfce53545189839a2d62 100644 (file)
@@ -321,6 +321,11 @@ function add_time_string_to_date(d, time)
         d.setSeconds (d.getSeconds() + 604800);
         return true;
     }
+    if (time == 'fortnight')
+    {
+        d.setSeconds (d.getSeconds() + 1209600);
+        return true;
+    }
     if (time == 'month')
     {
                d.setSeconds (d.getSeconds() + 2592000);

patrick-canterino.de