From d2b0e49e60538f7bfee4acf79bb5989e18bb6187 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 10 Jun 2016 10:44:35 -0300 Subject: [PATCH] =?UTF-8?q?Corre=C3=A7=C3=A3o=20da=20data=20final=20do=20c?= =?UTF-8?q?ertificado=20para=2040=20dias?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- type/ILB_Com_tutoria_2014/certificate.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/type/ILB_Com_tutoria_2014/certificate.php b/type/ILB_Com_tutoria_2014/certificate.php index fed95e0..8025920 100644 --- a/type/ILB_Com_tutoria_2014/certificate.php +++ b/type/ILB_Com_tutoria_2014/certificate.php @@ -36,7 +36,7 @@ if (!defined('MOODLE_INTERNAL')) { require_once("$CFG->dirroot/completion/completion_completion.php"); $start_date = $course->startdate; -$end_date = $start_date + 40 * 24 * 60 * 60; // 40 days * 24 hours * 60 min * 60 sec; ugly hack! +$end_date = $start_date + 39 * 24 * 60 * 60; // 40 days * 24 hours * 60 min * 60 sec; ugly hack! $fmt = '%d/%m/%Y'; // Default format if ($certificate->datefmt == 1) {