mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-15 12:20:31 +00:00
feat: remove Webpack and depend on nodemon. feat: refactoring expenses. feat: optimize system users with caching. feat: architecture tenant optimize.
9 lines
194 B
TypeScript
9 lines
194 B
TypeScript
import path from 'path';
|
|
import moment from 'moment';
|
|
|
|
global.__root = path.resolve(__dirname);
|
|
|
|
moment.prototype.toMySqlDateTime = function () {
|
|
return this.format('YYYY-MM-DD HH:mm:ss');
|
|
};
|