Fix bug#4316 Grid edit: can't change month on date fields

Signed-off-by: Atul Pratap Singh <atulpratapsingh05@gmail.com>