diff --git a/application/views/inspectionslist.php b/application/views/inspectionslist.php index d55875d..003957b 100644 --- a/application/views/inspectionslist.php +++ b/application/views/inspectionslist.php @@ -69,7 +69,7 @@ let year = date.getFullYear(); // This arrangement can be altered based on how we want the date's format to appear. -let currentDate = '${day}-${month}-${year}'; +let currentDate = day + '-' + month + '-' + year'; new DataTable('#inspectlist', { layout: { topStart: {