datetime: Fix crash when loading the panel
When the month row value is changed, the signal callback uses the year value from the year spin button. So set year value before month is set so that the year is set to a valid value thus avoiding a crash with invalid year.