Fix some bugs with date parsing, as well as zero pad month and day in URL