re #787 - Removed unpublish function and fixed exception error
re #787 - Use formated time
Merge branch 'feature/787-publish' into staging