def indentBlock(block):
            cursor = cursorAtSpaceEnd(block)
            cursor.insertText(' ' if withSpace else self.text())
def format_date(date):
            return date.replace(tzinfo=datetime.timezone.utc, microsecond=0).isoformat()