Browse Source

Add support for days of the week to intervals

Nick Mathewson 12 years ago
parent
commit
cf734a08f6
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/or/config.c

+ 2 - 0
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 },
 };