src/bda/calendar/base/timezone.py
def ServerTimezoneFactory(context):
    """The timezone of the server."""
    zones = time.tzname
    if zones and len(zones) > 0:
        zone = zones[0]
    else:
        zone = 'UTC'
    return pytz.timezone(zone)
The timezone of the server.
The timezone of the server.
The timezone of the server .
def ServerTimezoneFactory(context):
    zones = time.tzname
    if zones and len(zones) > 0:
        zone = zones[0]
    else:
        zone = 'UTC'
    return pytz.timezone(zone)
def ServerTimezoneFactory ( context ) : zones = time . tzname if zones and len ( zones ) > 0 : zone = zones [ 0 ] else : zone = 'UTC' return pytz . timezone ( zone )
The timezone of the server.
The timezone of the server .
"""The timezone of the server."""
context