From: Nick Mathewson Date: Tue, 12 Mar 2013 01:35:50 +0000 (-0400) Subject: Add support for days of the week to intervals X-Git-Tag: tor-0.2.4.12-alpha~5^2~30^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cf734a08f60f141ce2c21c703a403aeb74017b1f;p=thirdparty%2Ftor.git Add support for days of the week to intervals --- diff --git a/src/or/config.c b/src/or/config.c index 6ccd65a57a..adbd367d12 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -6534,6 +6534,8 @@ static struct unit_table_t time_units[] = { { "days", 24*60*60 }, { "week", 7*24*60*60 }, { "weeks", 7*24*60*60 }, + { "months", 2629728, }, /* about 30.437 days */ + { "months", 2629728, }, { NULL, 0 }, };