fix date comparison error that was comparing utc to local