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

arma at torproject.org arma at torproject.org
Thu Apr 11 05:29:52 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