Fixed date issue on editprofile