mitchell852 commented on pull request #4989:
URL: https://github.com/apache/trafficcontrol/pull/4989#issuecomment-684044688


   Can you update `dateCellFormatter` as well to this?
   
   ```
        /**
         * Formats the contents of the 'lastUpdated' and 'statusLastUpdated' 
column cells as "relative to now".
         */
        function dateCellFormatter(params) {
                return params.value ? dateUtils.getRelativeTime(params.value) : 
params.value;
        }
   ```
   
   so `dateUtils.getRelativeTime` doesn't try to parse a null which displays 
"Invalid Date"


----------------------------------------------------------------
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:
[email protected]


Reply via email to