summaryrefslogtreecommitdiffstats
path: root/cmd-display-message.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd-display-message.c')
-rw-r--r--cmd-display-message.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-display-message.c b/cmd-display-message.c
index 5856e2d8..6dd210ac 100644
--- a/cmd-display-message.c
+++ b/cmd-display-message.c
@@ -86,7 +86,7 @@ cmd_display_message_exec(struct cmd *self, struct cmdq_item *item)
ft = format_create(item->client, item, FORMAT_NONE, 0);
format_defaults(ft, target_c, s, wl, wp);
- msg = format_expand_time(ft, template, time(NULL));
+ msg = format_expand_time(ft, template, 0);
if (args_has(self->args, 'p'))
cmdq_print(item, "%s", msg);
else if (c != NULL)