Age of post rule limits the age of the post. You can specify maximal or minimal post age.
This rule has three fields: mode, unit and value.
- mode: There are two modes:
- unit: There are four units:
- value: The value of time in specified unit. An integer from 0 to Infinity.
Here is an example:
- voter: noisy rulesets: - name: Vote for new posts description: You can vote for posts younger than 7 days. rules: - rule: age_of_post mode: younger_than unit: day value: 7