doceditdialog: automatically turn 2-digit years into 4-digits years

Signed-off-by: Jerome Flesch <jflesch@gmail.com>