Moment.js support (John Pedrie), bail if input is undefined.