diff options
| author | 2022-10-06 19:45:37 +0200 | |
|---|---|---|
| committer | 2022-10-06 19:45:37 +0200 | |
| commit | 5773958c0ea22ce2b98fc432aa59f97544ca8316 (patch) | |
| tree | 055df43e591272964a3a71eaf306fc2e25edca8a | |
| parent | After doing some timeline operation, the page is loaded at the snac-posts anc... (diff) | |
| download | snac2-5773958c0ea22ce2b98fc432aa59f97544ca8316.tar.gz snac2-5773958c0ea22ce2b98fc432aa59f97544ca8316.tar.xz snac2-5773958c0ea22ce2b98fc432aa59f97544ca8316.zip | |
Do not show the hour in the date.
| -rw-r--r-- | html.c | 3 |
1 files changed, 2 insertions, 1 deletions
| @@ -206,8 +206,9 @@ d_char *html_msg_icon(snac *snac, d_char *os, char *msg) | |||
| 206 | s = xs_str_cat(s, "<br>\n<time> </time>\n"); | 206 | s = xs_str_cat(s, "<br>\n<time> </time>\n"); |
| 207 | } | 207 | } |
| 208 | else { | 208 | else { |
| 209 | xs *sd = xs_crop(xs_dup(v), 0, 10); | ||
| 209 | xs *s1 = xs_fmt( | 210 | xs *s1 = xs_fmt( |
| 210 | "<br>\n<time class=\"dt-published snac-pubdate\">%s</time>\n", v); | 211 | "<br>\n<time class=\"dt-published snac-pubdate\">%s</time>\n", sd); |
| 211 | 212 | ||
| 212 | s = xs_str_cat(s, s1); | 213 | s = xs_str_cat(s, s1); |
| 213 | } | 214 | } |