[tor-commits] [tor/master] Add support for days of the week to intervals

nickm at torproject.org nickm at torproject.org
Tue Mar 19 20:16:18 UTC 2013


commit cf734a08f60f141ce2c21c703a403aeb74017b1f
Author: Nick Mathewson <nickm at torproject.org>
Date:   Mon Mar 11 21:35:50 2013 -0400

    Add support for days of the week to intervals
---
 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 6ccd65a..adbd367 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 },
 };
 





More information about the tor-commits mailing list