Add another example
This commit is contained in:
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -2614,7 +2614,7 @@ checksum = "2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c"
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "reminder-rs"
|
name = "reminder-rs"
|
||||||
version = "1.7.38"
|
version = "1.7.39"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"base64 0.22.1",
|
"base64 0.22.1",
|
||||||
"chrono",
|
"chrono",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "reminder-rs"
|
name = "reminder-rs"
|
||||||
version = "1.7.38"
|
version = "1.7.39"
|
||||||
authors = ["Jude Southworth <judesouthworth@pm.me>"]
|
authors = ["Jude Southworth <judesouthworth@pm.me>"]
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
license = "AGPL-3.0 only"
|
license = "AGPL-3.0 only"
|
||||||
|
@ -64,6 +64,10 @@
|
|||||||
For example, if the current time is 1755800000 (UNIX time), the format string
|
For example, if the current time is 1755800000 (UNIX time), the format string
|
||||||
<code><<timenow+120:UTC:%H:%M:%S>></code> would display "18:15:20",
|
<code><<timenow+120:UTC:%H:%M:%S>></code> would display "18:15:20",
|
||||||
or <code><<timenow-120:UTC:%H:%M:%S>></code> would display "18:11:20"
|
or <code><<timenow-120:UTC:%H:%M:%S>></code> would display "18:11:20"
|
||||||
|
<br>
|
||||||
|
You can use this feature alongside Discord's timestamp formatting. The following
|
||||||
|
will show the text "in 2 minutes" for all users as a Discord timestamp:
|
||||||
|
<code><t:<<timenow+120:UTC:%s>>:R></code>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Reference in New Issue
Block a user