Add support for days of the week to intervals

This commit is contained in:
Nick Mathewson 2013-03-11 21:35:50 -04:00
parent aa040619d5
commit cf734a08f6

View File

@ -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 },
};