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) {