Fixed date editing issue (win)