Pass the current date when 'publishing immediately'.

Fixes #1600. 
Maybe related to #409