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