Doc edit dialog: display extra 0 in the date elements if required

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