Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Display Up/Down time in Device List #9951
This is an attempt for Uptime Downtime display in the device list. Thought ? I tried to reuse most of existing code, only adding the minimum.
DO NOT DELETE THIS TEXT
If you would like to test this pull request then please run:
Also, you should update Device:formatUptime() to use Time::formatInterval() to remove code duplication. (or remove it entirely)
Sorry this PR has been a bit of monkeying around, but the Eloquent models haven't settled in yet, so sometimes they need to be improved a bit.