simplify uptime calculation

1 file changed