core.moduleapi: Add :get_option_period for parsing time intervals

E.g. for use in mod_mam and others that take an amount of time before
some (usually cleanup) action is taken.
This commit is contained in:
Kim Alvefur 2023-07-16 19:49:12 +02:00
parent 924064a30a
commit 3c4dc9a754
4 changed files with 18 additions and 0 deletions

View file

@ -77,6 +77,7 @@ files["plugins/"] = {
"module.get_option_inherited_set",
"module.get_option_number",
"module.get_option_path",
"module.get_option_period",
"module.get_option_scalar",
"module.get_option_set",
"module.get_option_string",