Translates the Angular JS filter date format to the moment.js date format.