summaryrefslogtreecommitdiff
path: root/src/or
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2013-03-11 21:35:50 -0400
committerNick Mathewson <nickm@torproject.org>2013-03-19 16:03:58 -0400
commitcf734a08f60f141ce2c21c703a403aeb74017b1f (patch)
tree80ebacc4e43cfbae8f758fbd6245170d647aa980 /src/or
parentaa040619d5d584d3dc1639b656f8ab6a619abe56 (diff)
downloadtor-cf734a08f60f141ce2c21c703a403aeb74017b1f.tar.gz
tor-cf734a08f60f141ce2c21c703a403aeb74017b1f.zip
Add support for days of the week to intervals
Diffstat (limited to 'src/or')
-rw-r--r--src/or/config.c2
1 files changed, 2 insertions, 0 deletions
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 },
};