Andrushika commented on code in PR #71270:
URL: https://github.com/apache/airflow/pull/71270#discussion_r3763588645


##########
airflow-core/src/airflow/ui/src/components/renderStructuredLog.tsx:
##########
@@ -216,9 +218,9 @@ const renderStructuredLogImpl = ({
     return "";
   }
 
-  if (Boolean(timestamp) && showTimestamp) {
+  if (timestamp !== undefined && Boolean(timestamp) && showTimestamp) {
     if (renderingMode === "text") {
-      elements.push(`[${timestamp}] `);
+      elements.push(`[${formatTimestamp?.(timestamp) ?? timestamp}] `);

Review Comment:
   Since the timezone props path has been removed and the original code no 
longer exists, no further changes are needed here.



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