Maybe I am missing something (if so, please consider this issue more as a question), but it seems that day shift is not applied in the conversion.
Example:
from cron_converter import Cron
from local_crontab import Converter
tz = "Pacific/Auckland"
local_schedule = "30 5 * * FRI"
Cron(
cron_string=Converter(local_schedule, tz)).to_utc_cron(),
options={"output_weekday_names": True}
).to_string()
30 16 * * FRI
I would expect this to become 30 16 * * THU
Maybe I am missing something (if so, please consider this issue more as a question), but it seems that day shift is not applied in the conversion.
Example:
I would expect this to become
30 16 * * THU