Skip to content

Commit

Permalink
Remove date formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
dnrce authored and jjcarstens committed May 11, 2022
1 parent 7ed36ad commit bb12407
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 67 deletions.
6 changes: 0 additions & 6 deletions js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ import '@popperjs/core'
import $ from 'jquery'
import Josh from 'joshjs'

let dates = require('./dates')

new Josh()

$(function () {
Expand All @@ -19,7 +17,3 @@ $(function () {
.html("Selected File: <div class='file-name'>" + fileName + '</div>')
})
})

document.querySelectorAll('.date-time').forEach((d) => {
d.innerHTML = dates.formatDateTime(d.innerHTML)
})
24 changes: 0 additions & 24 deletions js/dates.js

This file was deleted.

22 changes: 0 additions & 22 deletions js/dates.test.js

This file was deleted.

14 changes: 0 additions & 14 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
"bootstrap": "^5.1.3",
"joshjs": "^1.0.7",
"jquery": "^3.6.0",
"moment": "^2.29.2",
"xterm": "^4.18.0",
"xterm-addon-fit": "^0.5.0"
},
Expand Down

0 comments on commit bb12407

Please sign in to comment.