mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-02 00:32:15 +09:00
Merge branch 'develop' into pr/extra-timezones
This commit is contained in:
commit
96dfdfc840
5 changed files with 146 additions and 20 deletions
|
|
@ -611,7 +611,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 = RX_TIME - ztime($date);
|
||||
|
||||
$lang_time_gap = Context::getLang('time_gap');
|
||||
if($gap < 60)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue