Browse Source

Inserção da preposição 'de' na data do certificado

temp
root 9 years ago
parent
commit
ea21e40440
  1. 2
      lib.php

2
lib.php

@ -1197,7 +1197,7 @@ function certificate_get_date($certificate, $certrecord, $course, $userid = null
$suffix = certificate_get_ordinal_number_suffix(userdate($date, '%d')); $suffix = certificate_get_ordinal_number_suffix(userdate($date, '%d'));
$certificatedate = userdate($date, '%B %d' . $suffix . ', %Y'); $certificatedate = userdate($date, '%B %d' . $suffix . ', %Y');
} else if ($certificate->datefmt == 3) { } else if ($certificate->datefmt == 3) {
$certificatedate = userdate($date, '%d %B %Y'); $certificatedate = userdate($date, '%d de %B de %Y');
} else if ($certificate->datefmt == 4) { } else if ($certificate->datefmt == 4) {
$certificatedate = userdate($date, '%B %Y'); $certificatedate = userdate($date, '%B %Y');
} else if ($certificate->datefmt == 5) { } else if ($certificate->datefmt == 5) {

Loading…
Cancel
Save