Skip to content

Commit

Permalink
Use 24-hour date format for audit
Browse files Browse the repository at this point in the history
Signed-off-by: snipe <[email protected]>
  • Loading branch information
snipe committed Apr 30, 2021
1 parent c672601 commit cee5eea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Controllers/Assets/AssetsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -813,7 +813,7 @@ public function auditStore(Request $request, $id)
$asset->unsetEventDispatcher();

$asset->next_audit_date = $request->input('next_audit_date');
$asset->last_audit_date = date('Y-m-d h:i:s');
$asset->last_audit_date = date('Y-m-d H:i:s');

// Check to see if they checked the box to update the physical location,
// not just note it in the audit notes
Expand Down

0 comments on commit cee5eea

Please sign in to comment.