Update date format some more

This commit is contained in:
Aleksei Miheev
2014-01-12 11:16:20 +00:00
parent f7137f1d54
commit 3e2bfdccc4

View File

@@ -791,8 +791,8 @@ 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);
$fmt = datefmt_create("ru_RU", NULL, NULL, 'Europe/Moscow', NULL, "d MMMM Y, HH:mm");
return str_replace(' ', ' ', datefmt_format($fmt, $time));
}