You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by GitBox <gi...@apache.org> on 2020/08/31 20:43:27 UTC

[GitHub] [trafficcontrol] ocket8888 commented on pull request #4989: Find a better way to determine last status change

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


   The data will compare properly if you coerce it to a Date. If you look in the servers table controller, when I set `$scope.servers` I map the returned servers array and apply a conversion to Date objects on the Last Updated field. So no, it's not that the Last Updated format works (in fact it's worse than the statusLastUpdated field, I had to do some string manipulation to get the `Date` constructor to work), it's just that it can only filter Dates by 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:
users@infra.apache.org