Skip to content
Snippets Groups Projects
Verified Commit 7d659275 authored by Joshua Barlin's avatar Joshua Barlin
Browse files

Make date actual date

parent 01dc998f
No related branches found
No related tags found
No related merge requests found
......@@ -122,7 +122,8 @@ function buildHTML() {
outputhtml += "<section aria-labelledby=\"une-hr-furinfhd\"><h3 id=\"une-hr-furinfhd\">Further information</h3>";
if ($("#closedate").val().length > 0) {
outputhtml += "<p>" + "<strong>Cosing Date: </strong>: " + $("#closedate").val() + "</p>";
var d = new Date($("#closedate").val());
outputhtml += "<p>" + "<strong>Cosing Date: </strong>: " + (d.getDay()) + "/" + (d.getMonth() + 1) + "/" + (d.getFullYear()) + "</p>";
}
if ($("#referencenumber").val().length > 0) {
outputhtml += "<p>" + "<strong>Reference No: </strong>: " + $("#referencenumber").val() + "</p>";
......
......@@ -278,7 +278,7 @@
<label id="closedate-lbl" for="closedate">Close Date</label>
</th>
<td>
<input type="text" name="closedate" id="closedate" class="width-100 padding-5">
<input type="date" name="closedate" id="closedate" class="width-100 padding-5">
</td>
</tr>
<tr>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment