Skip to content

The tz_offset attribute is a float, not an int. #29

Closed
@BiffoBear

Description

@BiffoBear

tz_offset: int = 0 should be tz_offset: float = 0.0 as India is at UTC +5.5 hours for example.

self._tz_offset = tz_offset * 60 * 60 can be cast to int if required.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions