summaryrefslogtreecommitdiff
path: root/journal.c
diff options
context:
space:
mode:
authorDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2018-09-23 02:15:57 -0700
committerDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2018-09-23 02:15:57 -0700
commit102b03ef3474e21cba164a6bcd8e950874cfef37 (patch)
tree607f07b3d5cfd0841d6343d6146ad66cf629bd05 /journal.c
parentd6cdea0624fe3da9f6de3ba73cb2ec3515633288 (diff)
downloadjournal-102b03ef3474e21cba164a6bcd8e950874cfef37.tar.gz
journal-102b03ef3474e21cba164a6bcd8e950874cfef37.tar.xz
bold dates via HTML for better rendering in links
Diffstat (limited to 'journal.c')
-rw-r--r--journal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/journal.c b/journal.c
index bc7aa3f..c2e6249 100644
--- a/journal.c
+++ b/journal.c
@@ -41,7 +41,7 @@ static void print_entry(char *path, char *ts)
struct tm tm;
strptime(ts, "%s", &tm);
printf(
- "<div class='entry'><p><span class='date'>%d/%02d/%02d</span>&emsp;",
+ "<div class='entry'><p><strong>%d/%02d/%02d</strong>&emsp;",
tm.tm_year + 1900, tm.tm_mon + 1, tm.tm_mday);
for (int c = getc(f), nl = 0; c != EOF; c = getc(f)) {