Skip to content

Commit

Permalink
Allow selective pango-markup in tztime-module (#430)
Browse files Browse the repository at this point in the history
Closes #421
  • Loading branch information
cherti authored Aug 31, 2020
1 parent a3a37da commit 3451a0d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/print_time.c
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,7 @@ void print_time(yajl_gen json_gen, char *buffer, const char *title, const char *
char string_time[STRING_SIZE];

if (format_time == NULL) {
strftime(string_time, sizeof(string_time), format, &tm);
maybe_escape_markup(string_time, &outwalk);
outwalk += strftime(buffer, 4096, format, &tm);
} else {
strftime(string_time, sizeof(string_time), format_time, &tm);
placeholder_t placeholders[] = {
Expand Down

0 comments on commit 3451a0d

Please sign in to comment.