mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-22 08:18:41 +00:00
fix(web): sidebar assignments sort
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
07b3388f56
commit
bf6961f72c
@ -41,7 +41,7 @@
|
||||
$deadline_a = DateTime::createFromFormat('Y-m-d H:i:s', $a['deadline']);
|
||||
$deadline_b = DateTime::createFromFormat('Y-m-d H:i:s', $b['deadline']);
|
||||
|
||||
return $deadline_a->getTimestamp() - $deadline_b->getTimestamp();
|
||||
return $deadline_b->getTimestamp() - $deadline_a->getTimestamp();
|
||||
});
|
||||
?>
|
||||
<?php if (count($assignments)): ?>
|
||||
|
Loading…
Reference in New Issue
Block a user