diff --git a/forum/Sources/Subs.php b/forum/Sources/Subs.php index 44a2a49..dd573f9 100644 --- a/forum/Sources/Subs.php +++ b/forum/Sources/Subs.php @@ -769,7 +769,7 @@ function timeformat($logTime, $show_today = true) } // Strip slashes off the time format string. - $str = $user_info['time_format']; +/* $str = $user_info['time_format']; if (setlocale(LC_TIME, @$txt['lang_locale'])) { @@ -790,6 +790,11 @@ function timeformat($logTime, $show_today = true) // Format any other characters.. return strftime($str, $time); +*/ + $fmt = datefmt_create("ru_RU", NULL, NULL, 'Europe/Moscow', NULL, "d MMMM Y HH:mm"); + return datefmt_format($fmt, $time); + + } // Removes special entities from strings. Compatibility...