AryanK1511 commented on issue #52056:
URL: https://github.com/apache/airflow/issues/52056#issuecomment-3021330316

   @humit0 I have an answer for you. 
   
   In the current state there is no direct config setting through the 
`airflow.cfg` file for the UI's Timezone.
   
   **The `default_ui_timezone` configuration was removed** in [PR 
#49176](https://github.com/apache/airflow/pull/49176) as part of AIP-38. The UI 
now uses a simpler approach:
   
   1. The UI automatically detects and uses the **system timezone** from the 
user's browser
   2. Users can manually change their timezone preference through the UI's 
timezone selector.
   3. The selected timezone is stored in the browser's `localStorage`, making 
it a per-browser setting
   
   So, I setup airflow using the `airflow standalone` command just like you 
did. On the bottom right corner of your screen, you will see the user settings 
where you have the ability to set a timezone for the UI. 
   
   <img width="291" alt="Image" 
src="https://github.com/user-attachments/assets/704e210b-10c2-4a01-b4d3-6731edbf33eb";
 />
   
   Checkout my example below with a DAG that I ran some time ago. 
   
   Here, I am using the UTC time zone.
   
   <img width="1021" alt="Image" 
src="https://github.com/user-attachments/assets/a3e574e3-5662-4806-a084-74d829616436";
 />
   
   However, as soon as I switch to America/Toronto, which is my timezone, the 
logs and the UI change as well. 
   
   <img width="977" alt="Image" 
src="https://github.com/user-attachments/assets/ef234d5d-badf-46f0-a42d-d6e95a2f72e6";
 />
   
   I hope this answers your question. Lemme know if we can close this issue 
now. 
   
   


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to