@property
    def relative_datetime(self):
        now = datetime.now(timezone.utc)
        tense = "from now" if self.created_at > now else "ago"
        return "{0} {1}".format(humanize.naturaldelta(now - self.created_at), tense)
Return human-readable relative time string.
dataset/ETHPy150Open buckket/twtxt/twtxt/models.py/Tweet.relative_datetime