Month was compared with the day and vice versa. Found by dukejeffrie. Change-Id: Ic4efca440c408325819ff1df85db7b407cf3207e