publish_notes now takes the time from notes