aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2024-04-25 23:59:38 +0200
committerGravatar Christian Hesse <mail@eworm.de>2024-04-26 08:29:52 +0200
commitb94a6314ee01a7ed67c062d41e7c9ab48b1793fc (patch)
treeb8728fd85b2978a2e9d0f5d3b7be7ab13447f5bc
parente09247b0d7a63028cb7f4004f583d89e23b5791a (diff)
mod/notification-telegram: format date & time italic
-rw-r--r--mod/notification-telegram.rsc4
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={