mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-30 23:53:32 +01:00
Add support for days of the week to intervals
This commit is contained in:
parent
aa040619d5
commit
cf734a08f6
@ -6534,6 +6534,8 @@ static struct unit_table_t time_units[] = {
|
|||||||
{ "days", 24*60*60 },
|
{ "days", 24*60*60 },
|
||||||
{ "week", 7*24*60*60 },
|
{ "week", 7*24*60*60 },
|
||||||
{ "weeks", 7*24*60*60 },
|
{ "weeks", 7*24*60*60 },
|
||||||
|
{ "months", 2629728, }, /* about 30.437 days */
|
||||||
|
{ "months", 2629728, },
|
||||||
{ NULL, 0 },
|
{ NULL, 0 },
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user