Fixed #274

* Publish date is now correctly determined
Merge pull request #275 from frmwrk123/fix/274

Fixed #274