试卷的发布时间、截止时间精确到15分

dev_local
cxt 6 years ago
parent 102a44d322
commit ba0e9e634a

@ -733,6 +733,7 @@ $(function(){
lang:'ch',
format:'Y-m-d H:i',
validateOnBlur:false,
step: 15,
onSelectDate:function() {
if($.trim($("input[name='exercise_end_time']").val()) == ""){
var date = new Date(Date.parse($("input[name='exercise_publish_time']").val().replace(/-/g, "/")));
@ -751,6 +752,7 @@ $(function(){
allowBlank:true,
lang:'ch',
format:'Y-m-d H:i',
step: 15,
validateOnBlur:false
});
@ -759,6 +761,7 @@ $(function(){
allowBlank:true,
lang:'ch',
format:'Y-m-d H:i',
step: 15,
validateOnBlur:false,
onSelectDate:function() {
if($.trim($($("input[name='exercise_end_time_group[]']")[i]).val()) == ""){
@ -780,6 +783,7 @@ $(function(){
allowBlank:true,
lang:'ch',
format:'Y-m-d H:i',
step: 15,
validateOnBlur:false
});
});

Loading…
Cancel
Save