From: Martin Mares Date: Thu, 22 Jan 2004 17:59:38 +0000 (+0000) Subject: Added "hour" and "day" units. X-Git-Tag: holmes-import~1128 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=eb3d130d22a4235cbfc8fd547e4e303780149752;p=libucw.git Added "hour" and "day" units. --- diff --git a/lib/conf.c b/lib/conf.c index 844c51cb..c2e5f1b4 100644 --- a/lib/conf.c +++ b/lib/conf.c @@ -93,6 +93,8 @@ struct unit { }; static const struct unit units[] = { + { 'd', 86400, 1 }, + { 'h', 1440, 1 }, { 'k', 1000, 1 }, { 'm', 1000000, 1 }, { 'g', 1000000000, 1 },