diff options
author | David Vazgenovich Shakaryan <dvshakaryan@gmail.com> | 2018-09-23 02:15:57 -0700 |
---|---|---|
committer | David Vazgenovich Shakaryan <dvshakaryan@gmail.com> | 2018-09-23 02:15:57 -0700 |
commit | 102b03ef3474e21cba164a6bcd8e950874cfef37 (patch) | |
tree | 607f07b3d5cfd0841d6343d6146ad66cf629bd05 /journal.c | |
parent | d6cdea0624fe3da9f6de3ba73cb2ec3515633288 (diff) | |
download | journal-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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> ", + "<div class='entry'><p><strong>%d/%02d/%02d</strong> ", tm.tm_year + 1900, tm.tm_mon + 1, tm.tm_mday); for (int c = getc(f), nl = 0; c != EOF; c = getc(f)) { |