diff options
author | Christian Hesse <mail@eworm.de> | 2024-04-25 23:59:38 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2024-04-29 23:02:48 +0200 |
commit | 0fd1e506badcce5580fc6505c423e4fe65db4d1e (patch) | |
tree | 319eedc2d107c05303425ecce007b8ee63f370e7 /mod/notification-telegram.rsc | |
parent | f8856ae7423d2b969b02094cc002e75388ee6374 (diff) |
mod/notification-telegram: format date & time italic
Diffstat (limited to 'mod/notification-telegram.rsc')
-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={ |