TryGhost/Ghost — pull request #1122 by gotdibbs (2013-10-16 16:12:17+00:00)
Title: Simplify publish date checks

Fixes #814

- Changed to compare instances of `moment` using it's built in
comparison function instead of string compare with the date from the
database.
- Ensure compared date is parsed with the correct formats that we were
supporting before #1107.
- Moved date formats to variables to reduce chance for error in future.