return date object instead of moment