[HACK] set timezone to Minsk instead of Moscow because of PHP's internal tzdata
This commit is contained in:
@@ -791,7 +791,7 @@ function timeformat($logTime, $show_today = true)
|
|||||||
// Format any other characters..
|
// Format any other characters..
|
||||||
return strftime($str, $time);
|
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));
|
return str_replace(' ', ' ', datefmt_format($fmt, $time));
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user