Fixed error in parsing dates #10