mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-22 20:08:42 +00:00
chore(web/group/manage/assignment): default end time
This commit is contained in:
parent
37843355cd
commit
4b8f5e69b9
@ -152,7 +152,7 @@ EOD);
|
|||||||
null
|
null
|
||||||
);
|
);
|
||||||
$default_end_time = new DateTime();
|
$default_end_time = new DateTime();
|
||||||
$default_end_time->setTime(17, 0, 0);
|
$default_end_time->setTime(22, 30, 0);
|
||||||
$default_end_time->add(new DateInterval("P7D"));
|
$default_end_time->add(new DateInterval("P7D"));
|
||||||
$add_new_assignment_form->addVInput('new_assignment_end_time', 'text', '截止时间', $default_end_time->format('Y-m-d H:i'),
|
$add_new_assignment_form->addVInput('new_assignment_end_time', 'text', '截止时间', $default_end_time->format('Y-m-d H:i'),
|
||||||
function ($end_time, &$vdata) {
|
function ($end_time, &$vdata) {
|
||||||
|
Loading…
Reference in New Issue
Block a user