| t0 | t1 | tend | |||
|---|---|---|---|---|---|
| Time: | |||||
| Progress: | |||||
| p0 | p1 | pend | |||
| start = | = t0 | |
| elapsed = | = t1 - t0 | |
| remaining = | = tend - t1 | |
| total = | = (t1 - t0) / (p1 - p0) × (pend - p0) | |
| finish = | = total + t0 |
23*3600.
Only [0-9 :./*+-] is allowed to prevent self-xss.
+1/60* and the
second with +1/3600*, such that hh:mm and hh:mm:ss will parse and the
output unit will be that of the largest position (hours in the case of hh:mm:ss).