-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
When setting a default_timezone other than UTC, dag_run API will return naive datetime error.
Can be fixed by adding:
from pytz import timezone
and replacing line 178 and 179 with:
local_tz = timezone(settings.conf.get('core','default_timezone'))
start_date = local_tz.localize(datetime.now())
end_date = local_tz.localize(datetime.now())
Metadata
Metadata
Assignees
Labels
No labels