Is `prefect.context.get("scheduled_start_time")` ...
# ask-community
c
Is
prefect.context.get("scheduled_start_time")
timezone aware? if not, is there an assumed timezone of UTC? If I schedule my flow with something like
CronSchedule(cron, start_date=pendulum.datetime(2021, 1, 1, tz=tz))
will the "scheduled_start_time" have the same timezone as the cron schedule?
k
I believe it is not, but I am double checking. Prefect Cloud uses all UTC time. Will check though.
Yeah pretty sure it’s UTC when you grab from context
c
Just executed a few dummy flows and the
scheduled_start_time
does indeed come back as UTC with something like
2021-10-18T18:52:26.006694+00:00
165 Views