Skip to content

Commit

Permalink
Bring back start and end DateTime
Browse files Browse the repository at this point in the history
  • Loading branch information
csev committed Jun 3, 2023
1 parent ad19a07 commit 4d66d24
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions lti/store/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,6 @@
$accept_submission = true;
}

// Time zones are just too tricky
$accept_available = false;
$accept_submission = false;

$debug = false; /* Pause when sending back */

$OUTPUT->header();
Expand Down Expand Up @@ -701,13 +697,15 @@
<label for="availableStart_<?= $count ?>">Available dates:</label>
<input type="date" id="availableStart_<?= $count ?>" name="availableStart"> -
<input type="date" id="availableEnd_<?= $count ?>" name="availableEnd">
<p>Please check this date in the LMS to make sure the time zone is correct.</p>
</div>
<?php } ?>
<?php if ( $accept_submission ) { ?>
<div class="form-group">
<label for="submissionStart_<?= $count ?>">Submission dates:</label>
<input type="date" id="submissionStart_<?= $count ?>" name="submissionStart"> -
<input type="date" id="submissionEnd_<?= $count ?>" name="submissionEnd">
<p>Please check this date in the LMS to make sure the time zone is correct.</p>
</div>
<?php } ?>
</div>
Expand Down

0 comments on commit 4d66d24

Please sign in to comment.