Skip to content

Commit

Permalink
remove semicolons
Browse files Browse the repository at this point in the history
  • Loading branch information
leonidastri committed Aug 5, 2024
1 parent 37ff602 commit bfa3407
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions user/static/user/js/data_access.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@ $(document).ready(function () {
})

$('.btn-generate-dap').on('click', function (event) {
const now = new Date();
const date = now.toLocaleDateString('en-GB', { year: 'numeric', month: 'long', day: 'numeric' });
const time = now.toTimeString().split(' ')[0];
$('#f-token-label').val(`${date} ${time}`);
const now = new Date()
const date = now.toLocaleDateString('en-GB', { year: 'numeric', month: 'long', day: 'numeric' })
const time = now.toTimeString().split(' ')[0]
$('#f-token-label').val(`${date} ${time}`)
});
})

0 comments on commit bfa3407

Please sign in to comment.