Do not show the hour in the date.

This commit is contained in:
default 2022-10-06 19:45:37 +02:00
parent f9be6c58ed
commit 5773958c0e

3
html.c
View file

@ -206,8 +206,9 @@ d_char *html_msg_icon(snac *snac, d_char *os, char *msg)
s = xs_str_cat(s, "<br>\n<time>&nbsp;</time>\n"); s = xs_str_cat(s, "<br>\n<time>&nbsp;</time>\n");
} }
else { else {
xs *sd = xs_crop(xs_dup(v), 0, 10);
xs *s1 = xs_fmt( xs *s1 = xs_fmt(
"<br>\n<time class=\"dt-published snac-pubdate\">%s</time>\n", v); "<br>\n<time class=\"dt-published snac-pubdate\">%s</time>\n", sd);
s = xs_str_cat(s, s1); s = xs_str_cat(s, s1);
} }