commit 36ff9721737f24615e0c5eaefb70046e567412eb
parent d5685645f2c34efac65ca02e0611dbc9bca8855a
Author: default <nobody@localhost>
Date: Tue, 15 Nov 2022 10:37:15 +0100
Show the complete date as a 'title' popup.
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/html.c b/html.c
@@ -108,7 +108,8 @@ d_char *html_actor_icon(snac *snac, d_char *os, char *actor, char *date, char *u
else {
xs *sd = xs_crop(xs_dup(date), 0, 10);
xs *s1 = xs_fmt(
- "<br>\n<time class=\"dt-published snac-pubdate\">%s</time>\n", sd);
+ "<br>\n<time class=\"dt-published snac-pubdate\" title=\"%s\">%s</time>\n",
+ date, sd);
s = xs_str_cat(s, s1);
}