Skip to content

Commit

Permalink
v1.5.04 - Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Ross Parker committed Nov 2, 2021
1 parent 105afad commit 7a761cd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion ATL/atl_manage_addProcess.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
$completeDate = null;
$complete = 'N';
} else {
$completeDate = Format::date($completeDate);
$completeDate = Format::dateConvert($completeDate);
$complete = 'Y';
}
$gibbonPersonIDCreator = $session->get('gibbonPersonID');
Expand Down
2 changes: 1 addition & 1 deletion ATL/atl_manage_editProcess.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
$completeDate = null;
$complete = 'N';
} else {
$completeDate = Format::date($completeDate);
$completeDate = Format::dateConvert($completeDate);
$complete = 'Y';
}
$gibbonPersonIDLastEdit = $session->get('gibbonPersonID');
Expand Down
8 changes: 4 additions & 4 deletions ATL/atl_write.php
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@
}
if ($resultEntry->rowCount() >= 1) {
$rowEntry = $resultEntry->fetch();
echo "<a title='".__($rowEntry['descriptor']).' | '.__('Test taken on').' '.dateConvertBack($guid, $rowEntry['date'])."' href='index.php?q=/modules/Students/student_view_details.php&gibbonPersonID=".$rowStudents['gibbonPersonID']."&subpage=External Assessment'>".__($rowEntry['value']).'</a>';
echo "<a title='".__($rowEntry['descriptor']).' | '.__('Test taken on').' '.Format::date($rowEntry['date'])."' href='index.php?q=/modules/Students/student_view_details.php&gibbonPersonID=".$rowStudents['gibbonPersonID']."&subpage=External Assessment'>".__($rowEntry['value']).'</a>';
}
echo '</td>';
}
Expand Down Expand Up @@ -501,11 +501,11 @@
}

if ($rowWork['type'] == 'File') {
echo "<span title='".$rowWork['version'].". $status. ".__('Submitted at').' '.substr($rowWork['timestamp'], 11, 5).' '.__('on').' '.dateConvertBack($guid, substr($rowWork['timestamp'], 0, 10))."' $style><a href='".$session->get('absoluteURL').'/'.$rowWork['location']."'>$linkText</a></span>";
echo "<span title='".$rowWork['version'].". $status. ".__('Submitted at').' '.substr($rowWork['timestamp'], 11, 5).' '.__('on').' '.Format::date(substr($rowWork['timestamp'], 0, 10))."' $style><a href='".$session->get('absoluteURL').'/'.$rowWork['location']."'>$linkText</a></span>";
} elseif ($rowWork['type'] == 'Link') {
echo "<span title='".$rowWork['version'].". $status. ".__('Submitted at').' '.substr($rowWork['timestamp'], 11, 5).' '.__('on').' '.dateConvertBack($guid, substr($rowWork['timestamp'], 0, 10))."' $style><a target='_blank' href='".$rowWork['location']."'>$linkText</a></span>";
echo "<span title='".$rowWork['version'].". $status. ".__('Submitted at').' '.substr($rowWork['timestamp'], 11, 5).' '.__('on').' '.Format::date(substr($rowWork['timestamp'], 0, 10))."' $style><a target='_blank' href='".$rowWork['location']."'>$linkText</a></span>";
} else {
echo "<span title='$status. ".__('Recorded at').' '.substr($rowWork['timestamp'], 11, 5).' '.__('on').' '.dateConvertBack($guid, substr($rowWork['timestamp'], 0, 10))."' $style>$linkText</span>";
echo "<span title='$status. ".__('Recorded at').' '.substr($rowWork['timestamp'], 11, 5).' '.__('on').' '.Format::date(substr($rowWork['timestamp'], 0, 10))."' $style>$linkText</span>";
}
} else {
if (date('Y-m-d H:i:s') < $homeworkDueDateTime[$i]) {
Expand Down

0 comments on commit 7a761cd

Please sign in to comment.