1. add change date picker format for rails.