diff --git a/awx/api/views.py b/awx/api/views.py index 84e00855fb..191a9a6086 100644 --- a/awx/api/views.py +++ b/awx/api/views.py @@ -297,6 +297,10 @@ class DashboardGraphView(APIView): count_hosts -= last_delta last_delta = element[1] dashboard_data['hosts'] = host_data[::-1] + + # Setting it back + settings.USE_TZ = True + return Response(dashboard_data) class ScheduleList(ListAPIView):