Skip to content

Commit

Permalink
remove unnecessary date picker related code change (autolab#1377)
Browse files Browse the repository at this point in the history
  • Loading branch information
xinyis991105 authored and ugogon committed Sep 21, 2021
1 parent 5321cc5 commit ff9f205
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions app/assets/javascripts/initialize_datetimepickers.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,6 @@
$(dateElts[i]).flatpickr({
altInput: true,
defaultDate: defaultDate,
formatDate: (date, format) => {
return moment(date).format(format);
},
parseDate: (datestr, format) => {
return moment(datestr, format, true).toDate();
},
})
}
});
Expand Down

0 comments on commit ff9f205

Please sign in to comment.