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

   > After removing `.replace(tzinfo=None)` in below code
   > 
   > 
[airflow/task-sdk/src/airflow/sdk/execution_time/supervisor.py](https://github.com/apache/airflow/blob/7d00e452df66617e3e3a83f05fecf035f2896475/task-sdk/src/airflow/sdk/execution_time/supervisor.py#L1575)
   > 
   > Line 1575 in 
[7d00e45](/apache/airflow/commit/7d00e452df66617e3e3a83f05fecf035f2896475)
   > 
   >  event["timestamp"] = msgspec.json.decode(f'"{ts}"', 
type=datetime).replace(tzinfo=None) 
   > then, task log display in correct timezone.
   > 
   > <img alt="Image" width="1819" 
src="https://private-user-images.githubusercontent.com/8676247/458147984-b7b2c18c-14f3-4477-86df-fa214f4a3acb.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NTEzMzAwOTIsIm5iZiI6MTc1MTMyOTc5MiwicGF0aCI6Ii84Njc2MjQ3LzQ1ODE0Nzk4NC1iN2IyYzE4Yy0xNGYzLTQ0NzctODZkZi1mYTIxNGY0YTNhY2IucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDcwMSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTA3MDFUMDAyOTUyWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZmJjNDAxMmRlNDcxYmJjYjY3NzY1OTA0MjA0ZjBkZGJiMDc3NmFlMGZhM2M0MjQ4ODU1ZDExZDcyMjQ0ZjA1MyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.6epwPTPEqGsoQzQ4x6rElrRaepnxsOXYccfDT_OMi2E";>
 <img alt="Image" width="1916" 
src="https://private-user-images.githubusercontent.com/8676247/458148261-3669c054-d86d-4b01-981e-ddbab3d73b06.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6Ikp
 
XVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NTEzMzAwOTIsIm5iZiI6MTc1MTMyOTc5MiwicGF0aCI6Ii84Njc2MjQ3LzQ1ODE0ODI2MS0zNjY5YzA1NC1kODZkLTRiMDEtOTgxZS1kZGJhYjNkNzNiMDYucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDcwMSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTA3MDFUMDAyOTUyWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9YzBiNGI1ODM1ODQ4MGQ4YWQzZGY4MTI4MDQ4Njk5OGEyMDlkMDZkYTlhZmYwMmQ4ZTkwMWM5NTUzMzUwMWQ2OSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.MQHzr8w2MS29XWWFXxMd0HeZsgtTHocCHmtictrrWbk">
   
   I see, I'll try recreating this right now and then get back to you with 
further updates.


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