mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 10:41:40 +09:00
getTimeGap()에서 타임존으로 인하여 잘못된 시간이 표시된 문제 수정
This commit is contained in:
parent
b7f04d03bf
commit
7881463ac7
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue