linkahead.common.timezone module

class linkahead.common.timezone.TimeZone(zone_id, offset, display_name)

Bases: object

TimeZone, e.g. CEST, Europe/Berlin, UTC+4.

zone_id

ID of the time zone.

Type:

string

offset

Offset to UTC in seconds.

Type:

int

display_name

A human-friendly name of the time zone:

Type:

string