parent
a3a37da11e
commit
3451a0d9fc
@ -64,8 +64,7 @@ void print_time(yajl_gen json_gen, char *buffer, const char *title, const char *
|
|||||||
char string_time[STRING_SIZE];
|
char string_time[STRING_SIZE];
|
||||||
|
|
||||||
if (format_time == NULL) {
|
if (format_time == NULL) {
|
||||||
strftime(string_time, sizeof(string_time), format, &tm);
|
outwalk += strftime(buffer, 4096, format, &tm);
|
||||||
maybe_escape_markup(string_time, &outwalk);
|
|
||||||
} else {
|
} else {
|
||||||
strftime(string_time, sizeof(string_time), format_time, &tm);
|
strftime(string_time, sizeof(string_time), format_time, &tm);
|
||||||
placeholder_t placeholders[] = {
|
placeholder_t placeholders[] = {
|
||||||
|
Loading…
Reference in New Issue
Block a user