Store dates in pr submissions in mongodb in proper format