adds check to see if node is being unpublished. if so, adds a data value indicating the time the node was unpublished.
changes date format to ISO 8601