abstracted out date formatting
attempted implementation of a `publish` target