diff --git a/Cargo.lock b/Cargo.lock index dc880c1..aa292b3 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2614,7 +2614,7 @@ checksum = "2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c" [[package]] name = "reminder-rs" -version = "1.7.38" +version = "1.7.39" dependencies = [ "base64 0.22.1", "chrono", diff --git a/Cargo.toml b/Cargo.toml index 2899c49..bff6246 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "reminder-rs" -version = "1.7.38" +version = "1.7.39" authors = ["Jude Southworth "] edition = "2021" license = "AGPL-3.0 only" diff --git a/templates/support/create_reminder.html.tera b/templates/support/create_reminder.html.tera index efd73e0..94a03a1 100644 --- a/templates/support/create_reminder.html.tera +++ b/templates/support/create_reminder.html.tera @@ -64,6 +64,10 @@ For example, if the current time is 1755800000 (UNIX time), the format string <<timenow+120:UTC:%H:%M:%S>> would display "18:15:20", or <<timenow-120:UTC:%H:%M:%S>> would display "18:11:20" +
+ 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: + <t:<<timenow+120:UTC:%s>>:R>