test(dateParser): missing tests, refactorized tests
test(dateParser): missing tests, refactorized tests

Closes #4766

shiftagent/ui-bootstrap,byronigoe/bootstrap,deeg/bootstrap,pdsoftplan/bootstrap,benhalverson/bootstrap,looker/bootstrap,burlhock/bootstrap,shootermv/bootstrap,shiftagent/ui-bootstrap,benhalverson/bootstrap,icfantv/bootstrap,deeg/bootstrap,connyay/bootstrap,fpipita/bootstrap,angular-ui/bootstrap,matteopic/bootstrap,Foxandxss/bootstrap,benhalverson/bootstrap,justin-john/bootstrap-1,Lincoln-xzc/angular-ui-bootstrap,icfantv/bootstrap,vfiles/bootstrap,byronigoe/bootstrap,Servoy/bootstrap,Lincoln-xzc/angular-ui-bootstrap,Foxandxss/bootstrap,Servoy/bootstrap,BookingBug/bootstrap,matteopic/bootstrap,davious/angular-ui-bootstrap,infowrap/bootstrap,RobJacobs/bootstrap,mabi/bootstrap,wesleycho/bootstrap,infowrap/bootstrap,christor/bootstrap,caoruiy/bootstrap,vfiles/bootstrap,christor/bootstrap,pdsoftplan/bootstrap,292388900/bootstrap,burlhock/bootstrap,looker/bootstrap,Kpler/bootstrap,davious/angular-ui-bootstrap,292388900/bootstrap,angular-ui/bootstrap,mabi/bootstrap,wesleycho/bootstrap,Kpler/bootstrap,caoruiy/bootstrap,connyay/bootstrap,fpipita/bootstrap,BookingBug/bootstrap,justin-john/bootstrap-1,RobJacobs/bootstrap,benhalverson/bootstrap,shootermv/bootstrap