Add vars for replace filter
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-03-02 16:30:55 -05:00
parent db75e69d99
commit b2300e8ba8
3 changed files with 5 additions and 3 deletions

View File

@ -7,5 +7,7 @@ motd_host_uptime : "{{ now().replace(microsecond=0) - now().fromtimestamp(now(
motd_day_filter : "(.* day[s]?),\\s+(\\d+):(\\d+):(\\d+)"
motd_nonday_filter : "(\\d+):(\\d+):(\\d+)"
motd_day_filter_repl : "\\1 \\2 hours \\3 minutes"
motd_nonday_filter_repl : "\\1 hours \\2 minutes \\3 seconds"
...