Skip to content

[Enh]: Allow to pass Cron class options in Converter initialization#3

Description

@FBruzzesi

Hey there 馃憢馃徏

Let's start from the fact that this is an incredibly useful library/codebase!

I would like to be able to pass Cron options to the Converter.

Current workaround is:

from cron_converter import Cron
from local_crontab import Converter

utc_schedule = Converter(local_schedule, timezone_str=time_zone).to_utc_cron()
return Cron(utc_schedule, {"output_weekday_names": True}).to_string()

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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