Issue #1804508 by jonathan1055: Extra spaces in date format causes 'Publish on' not to match the expected format.