mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-15 01:55:03 +00:00
Do not show the hour in the date.
This commit is contained in:
parent
f9be6c58ed
commit
5773958c0e
1 changed files with 2 additions and 1 deletions
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 a new issue