Skip to content

Commit

Permalink
Merge pull request #471 from Sae126V/GT-172-Fix-for-strange-character…
Browse files Browse the repository at this point in the history
…-in-edit-downtime-view

[GT-172] Remove unknown character in edit downtime
  • Loading branch information
gregcorbett authored Aug 21, 2023
2 parents a8f10a7 + 65f9b92 commit 23146b7
Showing 1 changed file with 4 additions and 20 deletions.
24 changes: 4 additions & 20 deletions htdocs/web_portal/views/downtime/edit_downtime.php
Original file line number Diff line number Diff line change
Expand Up @@ -225,8 +225,10 @@ class="form-control" id="Select_Sites" name="select_sites" size="10"
$('#startDate').data("DateTimePicker").date("<?php echo date_format($startDate,"d/m/Y"); ?>");
$('#endDate').data("DateTimePicker").date("<?php echo date_format($endDate,"d/m/Y"); ?>");

//Set the start and finish times (don't echo in the full date, just the time values, time widget didn’t like timestamp with date)
$('#startTime').data("DateTimePicker").date("<?php echo date_format($startDate,"H:i"); ?>");
/**
* Set the start and finish times (don't echo in the full date,
* just the time values, time widget didn't like timestamp with date)
*/
$('#endTime').data("DateTimePicker").date("<?php echo date_format($endDate,"H:i"); ?>");

// By default select the original affected services and endpoints
Expand Down Expand Up @@ -654,21 +656,3 @@ function getDate(){
return datesValid;
}*/
</script>


















0 comments on commit 23146b7

Please sign in to comment.