http: simplify time representation