Fix no duration/time bug, use momentjs for date parsing