diff --git a/types/timespan.pp b/types/timespan.pp index 972e6d95..34f0eebf 100644 --- a/types/timespan.pp +++ b/types/timespan.pp @@ -2,5 +2,5 @@ # @see https://www.freedesktop.org/software/systemd/man/latest/systemd.time.html type Systemd::Timespan = Variant[ Integer[0], - Pattern[/^([0-9]+ *(usec|us|msec|ms|second[s]?|sec|s|minute[s]?|min|m|hour[s]?|hr|h|day[s]?|d|week[s]?|w|month[s]?|M|year[s]?|y)? *)+$/] + Pattern[/^([0-9]+ *(usec|us|msec|ms|seconds?|sec|s|minutes?|min|m|hours?|hr|h|days?|d|weeks?|w|months?|M|years?|y)? *)+$/] ]