diff --git a/src/wcmf/application/views/plugins/modifier.localize_date.php b/src/wcmf/application/views/plugins/modifier.localize_date.php index 9aa2649fe..710e37346 100644 --- a/src/wcmf/application/views/plugins/modifier.localize_date.php +++ b/src/wcmf/application/views/plugins/modifier.localize_date.php @@ -53,8 +53,8 @@ function smarty_modifier_localize_date($date, $lang) { ]; foreach ($names as $name) { $localizeName = $message->getText($name, null, $lang); - $localizeShortName = substr($localizeName, 0, 3); - $date = strtr($date, [$name => $localizeName, substr($name, 0, 3) => $localizeShortName]); + $localizeShortName = mb_substr($localizeName, 0, 3); + $date = strtr($date, [$name => $localizeName, mb_substr($name, 0, 3) => $localizeShortName]); } return $date; }