Skip to content

Commit

Permalink
Update inspectionslist.php
Browse files Browse the repository at this point in the history
  • Loading branch information
pavlosb committed May 28, 2024
1 parent 269ac6c commit dce7ce2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion application/views/inspectionslist.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,12 @@
let day = date.getDate();
let month = date.getMonth() + 1;
let year = date.getFullYear();
let hr = date.getHours();
let mint = date.getMinutes();
let scn = date.getSeconds();

// 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+'_'+ hr + mint + scn;
new DataTable('#inspectlist', {
layout: {
topStart: {
Expand Down

0 comments on commit dce7ce2

Please sign in to comment.