parse-duration: small doc tweak and coding aesthetics issue.
authorBruce Korb <bkorb@gnu.org>
Mon, 29 Dec 2008 21:00:19 +0000 (22:00 +0100)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Mon, 29 Dec 2008 21:00:19 +0000 (22:00 +0100)
* lib/parse-duration.h: non-iso form accepts years, months weeks, too
* lib/parse-duration.c: use a switch instead of cascading if's.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

No differences found