repos
/ timestrap-django master

timestrap-django

mirror archived upstream

Time tracking you can host anywhere, built on Django. Full export support in multiple formats and easily extensible.

djangodockerhandcodedpythonself-hostedtime-trackingtimetracker

310 B · 16 lines · JavaScript Raw History
 1import moment from 'moment';
 2import 'moment-timezone';
 3import momentDurationFormat from 'moment-duration-format';
 4
 5
 6const VueMoment = {
 7  install: Vue => {
 8    momentDurationFormat(moment);
 9    moment.locale(timestrapConfig.SITE.LOCALE);
10    Vue.prototype.$moment = moment;
11  },
12};
13
14
15export default VueMoment;