fix pretty date formatting when only month and year are set