renzepost commented on code in PR #32465: URL: https://github.com/apache/airflow/pull/32465#discussion_r1262977293
########## airflow/www/static/js/task.js: ########## @@ -25,12 +25,17 @@ import validator from "validator"; document.addEventListener("DOMContentLoaded", () => { document.querySelectorAll(".js-ti-attr").forEach((attr) => { const value = attr.innerHTML; + const attrName = attr.previousElementSibling.textContent.trim(); if (value.length === 32 && moment(value, "YYYY-MM-DD").isValid()) { // 32 is the length of our timestamps // eslint-disable-next-line no-param-reassign attr.innerHTML = ""; const timeElement = document.createElement("time"); timeElement.setAttribute("datetime", value); + timeElement.setAttribute( + "data-datetime-convert", + attrName === "execution_date" ? "false" : "true" + ); Review Comment: Did some rework on this. See updated description of PR. Let me know if I missed any instances of `execution_date` in the UI! -- 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: commits-unsubscr...@airflow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org