diff options
author | Nick Mathewson <nickm@torproject.org> | 2013-03-11 21:35:50 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2013-03-19 16:03:58 -0400 |
commit | cf734a08f60f141ce2c21c703a403aeb74017b1f (patch) | |
tree | 80ebacc4e43cfbae8f758fbd6245170d647aa980 /src/or | |
parent | aa040619d5d584d3dc1639b656f8ab6a619abe56 (diff) | |
download | tor-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.c | 2 |
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 }, }; |