turbaszek commented on a change in pull request #10497: URL: https://github.com/apache/airflow/pull/10497#discussion_r475909479
########## File path: airflow/www/utils.py ########## @@ -181,7 +181,7 @@ def is_current(current, page): def epoch(dttm): """Returns an epoch-type date""" - return int(time.mktime(dttm.timetuple())) * 1000, + return (int(time.mktime(dttm.timetuple())) * 1000,) Review comment: I'm not sure... https://github.com/apache/airflow/blob/f2da6b419fde71d335d133031f2c0fac28b87289/airflow/www/views.py#L1757 Should we be able to use `datetime.timestamp()`? ---------------------------------------------------------------- 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: us...@infra.apache.org