You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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())
The text was updated successfully, but these errors were encountered:
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())
The text was updated successfully, but these errors were encountered: