Formatted date with moment.js, trimming string