5 #include <yajl/yajl_gen.h>
9 void print_time(yajl_gen json_gen, char *buffer, const char *format, struct tm *current_tm) {
10 char *outwalk = buffer;
11 if (current_tm == NULL)
14 outwalk += strftime(outwalk, 4095, format, current_tm);
16 OUTPUT_FULL_TEXT(buffer);