1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-05 14:17:49 +02:00

Make the comments-menu caption support multiple languages.

This commit is contained in:
Cameron
2016-12-18 14:59:02 -08:00
parent 5f91ebf20d
commit 3afb992fbd
4 changed files with 79 additions and 11 deletions

View File

@@ -41,8 +41,7 @@ class comment_menu_shortcodes extends e_shortcode
function sc_cm_datestamp()
{
$gen = new convert;
return $gen->convert_date($this->var['comment_datestamp'], "relative");
return e107::getParser()->toDate($this->var['comment_datestamp'], "relative");
}
function sc_cm_heading()