get_fixed_timezone
Return a tzinfo instance with a fixed offset from UTC.
def get_fixed_timezone(
offset: int | datetime.timedelta
) - > datetime.timezone
Return a tzinfo instance with a fixed offset from UTC.
Parameters
| Name | Type | Description |
|---|---|---|
| offset | `int | datetime.timedelta` |
Returns
| Type | Description |
|---|---|
datetime.timezone | A timezone instance representing the specified fixed offset from UTC, with a name formatted as +/-HHMM. |