

def O(self):
    "\n        Difference to Greenwich time in hours; e.g. '+0200', '-0430'.\n\n        If timezone information is not available, this method returns\n        an empty string.\n        "
    if (not self.timezone):
        return ''
    seconds = self.Z()
    if (sign == ''):
        return ''
    sign = ('-' if (seconds < 0) else '+')
    seconds = abs(seconds)
    return ('%s%02d%02d' % (sign, (seconds // 3600), ((seconds // 60) % 60)))

dataset/ETHPy150Open django/django/django/utils/dateformat.py TimeFormat.O/VarMisuse@36/103 `seconds`->`sign`