Make sure that date parts are always strings