Revised checking for when to tweet