Skip to content

daylight savings shifts are out of sync #46

@m4rk-lewis

Description

@m4rk-lewis

for the sessions function, it would be better to specify the open and close time natively to the timezone that we are targeting using the pytz format. eg:

smc.sessions(df, 'New York', '09:30', '16:00', timezone= "America/New_York")

This is because the daylight savings shifts for each country is not in sync, which means that twice a year, there will be several weeks where New York is in daylight savings, but London isn't or vice versa. The same can be said of other timezones.

M

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions