mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-22 03:08:41 +00:00
fix(user): fde7fd0cb0
This commit is contained in:
parent
6ff2f48e88
commit
da273d1df9
@ -158,7 +158,7 @@
|
||||
<span class="text-muted small">
|
||||
(<?= UOJLocale::get('user::last active at') ?>
|
||||
<?php if ((clone UOJTime::$time_now)->modify('- 1 day') <= $last_visit_time) : ?>
|
||||
<?= HTML::relative_time_str($last_visit_time, 0) ?>)
|
||||
<?= HTML::relative_time_str($last_visit_time->getTimestamp(), 0) ?>)
|
||||
<?php else : ?>
|
||||
<?= $last_visit_time->format('Y-m-d') ?>)
|
||||
<?php endif ?>
|
||||
|
Loading…
Reference in New Issue
Block a user