getTimeGap()에서 타임존으로 인하여 잘못된 시간이 표시된 문제 수정

This commit is contained in:
conory 2016-02-11 19:01:55 +09:00
parent b7f04d03bf
commit 7881463ac7

View file

@ -610,7 +610,7 @@ function zdate($str, $format = 'Y-m-d H:i:s', $conversion = false)
*/
function getTimeGap($date, $format = 'Y.m.d')
{
$gap = $_SERVER['REQUEST_TIME'] + zgap() - ztime($date);
$gap = $_SERVER['REQUEST_TIME'] - strtotime($date);
$lang_time_gap = Context::getLang('time_gap');
if($gap < 60)