diff --git a/web/app/views/sidebar.php b/web/app/views/sidebar.php index e8e6af0..24798d5 100644 --- a/web/app/views/sidebar.php +++ b/web/app/views/sidebar.php @@ -57,7 +57,7 @@ $rest_seconds = $contest['start_time']->getTimestamp() - UOJTime::$time_now->getTimestamp(); ?> 86400): ?> - = UOJLocale::get('contests::will start in x days', floor($rest_seconds / 86400)) ?> + = UOJLocale::get('contests::will start in x days', ceil($rest_seconds / 86400)) ?>