Fix date/time using flask-moment.