re #787 - Removed unpublish function and fixed exception error
re #787 - Use formated time