File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -1122,11 +1122,10 @@ public function col_allowsubmissionsfromdate(stdClass $row) {
11221122
11231123 if ($ row ->allowsubmissionsfromdate ) {
11241124 $ userdate = userdate ($ row ->allowsubmissionsfromdate );
1125- $ o = $ this ->output ->container ($ userdate , 'allowsubmissionsfromdate ' );
1125+ $ o = ( $ this -> is_downloading ()) ? $ userdate : $ this ->output ->container ($ userdate , 'allowsubmissionsfromdate ' );
11261126 }
11271127
11281128 return $ o ;
1129-
11301129 }
11311130
11321131 /**
@@ -1140,11 +1139,10 @@ public function col_duedate(stdClass $row) {
11401139
11411140 if ($ row ->duedate ) {
11421141 $ userdate = userdate ($ row ->duedate );
1143- $ o = $ this ->output ->container ($ userdate , 'duedate ' );
1142+ $ o = ( $ this -> is_downloading ()) ? $ userdate : $ this ->output ->container ($ userdate , 'duedate ' );
11441143 }
11451144
11461145 return $ o ;
1147-
11481146 }
11491147
11501148 /**
@@ -1158,11 +1156,10 @@ public function col_cutoffdate(stdClass $row) {
11581156
11591157 if ($ row ->cutoffdate ) {
11601158 $ userdate = userdate ($ row ->cutoffdate );
1161- $ o = $ this ->output ->container ($ userdate , 'cutoffdate ' );
1159+ $ o = ( $ this -> is_downloading ()) ? $ userdate : $ this ->output ->container ($ userdate , 'cutoffdate ' );
11621160 }
11631161
11641162 return $ o ;
1165-
11661163 }
11671164
11681165 /**
You can’t perform that action at this time.
0 commit comments