commit | a0d37b69ef8f4362f606aacd673eedc292e78af7 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Sun Dec 02 22:00:35 2007 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Sun Dec 02 22:00:35 2007 +0100 |
tree | 78ac74f5db21fa26392bda584210ded866efb0e1 | |
parent | 2e74c3f2023cff6cd5ca6f1a265422f2306ae306 [diff] |
[MINOR] implement a time parsing function This new function accepts inputs in various default units, from the microsecond to the day. It detects suffixes after numbers and performs the appropriate conversions between the user's unit and the program's unit, considering a unit-less number in the default unit.