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