From f2887f7b313bb9c0ac81596719d7e708a55b211b Mon Sep 17 00:00:00 2001 From: Sesostris Vieira Date: Mon, 21 Jul 2014 12:47:48 -0300 Subject: [PATCH] =?UTF-8?q?Alterada=20dura=C3=A7=C3=A3o=20do=20curso=20par?= =?UTF-8?q?a=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 f16ae54..2ce0333 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 + 60 * 24 * 60 * 60; // 60 days * 24 hours * 60 min * 60 sec; +$end_date = $start_date + 40 * 24 * 60 * 60; // 40 days * 24 hours * 60 min * 60 sec; ugly hack! $fmt = '%d/%m/%Y'; // Default format if ($certificate->datefmt == 1) {