ashb commented on a change in pull request #4893: [DRAFT] [AIRFLOW-3891] Make 
the Graph View time-zone aware
URL: https://github.com/apache/airflow/pull/4893#discussion_r265077566
 
 

 ##########
 File path: airflow/www/templates/airflow/graph.html
 ##########
 @@ -362,6 +362,15 @@
 
 </script>
 <script src="{{ url_for_asset('graph.js') }}"></script>
+<script src="{{ url_for_asset('index.js') }}"></script>
+<script type="text/javascript">
+  let dagTz = '{{ dag.timezone.name }}';
 
 Review comment:
   We've started putting thins like this in `<meta>` tags, rather than blocks 
of JS (or we have open PRs by @mik-laj to do that. I forget if we've merged 
them yet)

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to