Combine all datetime library functions into single JS file
Summary
All the datetime manipulation functions we have are spread across following files that at times we'd have to do import
from multiple locations;
-
app/assets/javascripts/lib/utils/datetime_utility.js
(Largest of the bunch) app/assets/javascripts/lib/utils/pretty_time.js
app/assets/javascripts/lib/utils/datefix.js
app/assets/javascripts/lib/utils/tick_formats.js
Proposal
We can combine all the files into single app/assets/javascripts/lib/utils/datetime_utility.js
and also make sure that every function is ES6 export so that it remains tree-shakeable.