mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-09 19:50:26 +03:00
Do not show the hour in the date.
This commit is contained in:
parent
f9be6c58ed
commit
5773958c0e
3
html.c
3
html.c
@ -206,8 +206,9 @@ d_char *html_msg_icon(snac *snac, d_char *os, char *msg)
|
||||
s = xs_str_cat(s, "<br>\n<time> </time>\n");
|
||||
}
|
||||
else {
|
||||
xs *sd = xs_crop(xs_dup(v), 0, 10);
|
||||
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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user