abstracted moment.js usages