[HACK] set timezone to Minsk instead of Moscow because of PHP's internal tzdata

This commit is contained in:
Aleksei Miheev
2016-01-31 08:25:01 +00:00
parent d504552074
commit 8ba5bef3c0

View File

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