mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-10 20:44:28 +09:00
getTimeGap()에서 타임존으로 인하여 잘못된 시간이 표시된 문제 수정2
This commit is contained in:
parent
1e828dcf21
commit
8dffa0ad93
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')
|
function getTimeGap($date, $format = 'Y.m.d')
|
||||||
{
|
{
|
||||||
$gap = $_SERVER['REQUEST_TIME'] - strtotime($date);
|
$gap = RX_TIME - ztime($date);
|
||||||
|
|
||||||
$lang_time_gap = Context::getLang('time_gap');
|
$lang_time_gap = Context::getLang('time_gap');
|
||||||
if($gap < 60)
|
if($gap < 60)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue