Skip to content

Time zones / daylight savings time? #34

@HunterZ

Description

@HunterZ

Does croncpp operate relative to UTC, the system's local time zone, or something else? I'm not seeing anything about this in the documentation, and it's concerning because it absolutely matters when you're talking about scheduling against calendar-related attributes. I'm also seeing a lot of open issues regarding things like daylight savings time transitions (#8, #24, #30, #32) and/or time zones (#23).

I know a second-order dependency is probably undesirable, but I'm wondering if it might be worth using the Howard Hinnant date library (https://github.com/HowardHinnant/date) since it's meant to provide modern C++ tools that can help with these kinds of issues.

The C# Cronos library also has some good thoughts in the "Daylight Savings Time" section of its documentation: https://github.com/HangfireIO/Cronos/

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