Support `w` duration when making silences. Remove `y` as a supported duration, silences are for short term notification prevention. Signed-off-by: stuart nelson <stuartnelson3@gmail.com>
This commit is contained in:
parent
86129874d1
commit
72e6720bea
File diff suppressed because one or more lines are too long
|
@ -46,7 +46,7 @@ durationHelp duration =
|
|||
|
||||
units : List ( String, number )
|
||||
units =
|
||||
[ ( "y", 31556926000 )
|
||||
[ ( "w", 604800000 )
|
||||
, ( "d", 86400000 )
|
||||
, ( "h", 3600000 )
|
||||
, ( "m", 60000 )
|
||||
|
|
Loading…
Reference in New Issue