diff options
author | Christian Hesse <mail@eworm.de> | 2024-04-25 23:59:38 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2024-04-29 17:41:49 +0200 |
commit | 5246c2141f36d77c3beba968851191eac02808a2 (patch) | |
tree | d164c3de3379f759f6d4ca3b89918a31a1ff51be | |
parent | 3c01257defd026650f487bff34c90b8ff421ee31 (diff) |
mod/notification-telegram: format date & time italic
-rw-r--r-- | mod/notification-telegram.rsc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/notification-telegram.rsc b/mod/notification-telegram.rsc index 858ab1b..4c2fd94 100644 --- a/mod/notification-telegram.rsc +++ b/mod/notification-telegram.rsc @@ -160,8 +160,8 @@ :set TelegramQueue ({}); } :set Text ($Text . "\n" . [ $SymbolForNotification "alarm-clock" ] . \ - [ $EscapeMD ("This message was queued since " . [ /system/clock/get date ] . \ - " " . [ /system/clock/get time ] . " and may be obsolete.") "plain" ]); + [ $EscapeMD ("This message was queued since _" . [ /system/clock/get date ] . \ + " " . [ /system/clock/get time ] . "_ and may be obsolete.") "plain" "_" ]); :set ($TelegramQueue->[ :len $TelegramQueue ]) { chatid=$ChatId; tokenid=$TokenId; text=$Text; silent=($Notification->"silent"); replyto=($Notification->"replyto") }; :if ([ :len [ /system/scheduler/find where name="_FlushTelegramQueue" ] ] = 0) do={ |