Added missing format for weeks (#1)

Adding core template 'duration_format_help'
This commit is contained in:
AnonymousWP
2021-05-20 19:04:40 +02:00
committed by GitHub
parent d7dd4cd39a
commit 08c96ecf46
5 changed files with 15 additions and 27 deletions

View File

@@ -0,0 +1,9 @@
The syntax for duration is the following:
s - seconds
m - minutes
h - hours
d - days
w - weeks
They must be positive and may not contain spaces in between. Syntaxes can be mixed as well. For example, `1h23m` is one hour and twenty three minutes.

View File

@@ -1,10 +1,5 @@
Applies the muted role to the user and logs the mute in the `mutes` post target.
The user will be automatically un muted after the time period is over and another un mute notification will be send to the
The user will be automatically un-muted after the time period is over and another un-mute notification will be send to the
`mutes` post target.
The syntax for duration is the following:
s - seconds
m - minutes
h - hours
d - days
They must be positive and do no spaces between for example `1h23m` is one hour and twenty three minutes.
<#include "duration_format_help">

View File

@@ -1,8 +1,3 @@
Sets the slow mode of the the current (or given channel) to the given interval.
The syntax for interval is the following:
s - seconds
m - minutes
h - hours
d - days
They must be positive and do no spaces between for example `1h23m` is one hour and twenty three minutes.
<#include "duration_format_help">

View File

@@ -1,9 +1,3 @@
Reminds you in the given duration of the given text.
The reminder will also include a link to the original message.
The syntax for duration is the following:
s - seconds
m - minutes
h - hours
d - days
Reminds you in the given duration of the given text. The reminder will also include a link to the original message.
They must be positive and do no spaces between for example `1h23m` is one hour and twenty three minutes.
<#include "duration_format_help">

View File

@@ -1,8 +1,3 @@
Re-creates a reminder with a new duration. This is only possible for reminders which already have been executed and were started by you.
The syntax for duration is the following:
s - seconds
m - minutes
h - hours
d - days
They must be positive and do no spaces between for example `1h23m` is one hour and twenty three minutes.
<#include "duration_format_help">