@classmethod
    def add_datetimes_to_key(self, key):

        utc = tz.tzutc()
        gmt = tz.gettz('GMT')
        local_tz = tz.tzlocal()

        key.last_modified = datetime.strptime(key.last_modified, "%Y-%m-%dT%H:%M:%S.%fZ")
        key.last_modified = key.last_modified.replace(tzinfo=gmt)
        key.utc_last_modified = key.last_modified.astimezone(utc)
        key.local_last_modified = key.last_modified.astimezone(local_tz)

        return key
Initialize CLI.
dataset/ETHPy150Open epicserve/s3-backups/s3_backups/postgres_to_s3.py/archive.add_datetimes_to_key--crossover with--dataset/ETHPy150Open tony/tmuxp/tmuxp/cli.py/startup