pack: gelf: format timestamp as seconds.milliseconds
@@ -735,7 +735,8 @@ flb_sds_t flb_msgpack_to_gelf(flb_sds_t *s, msgpack_object *o,
}
*s = tmp;
- tmp = flb_sds_printf(s, "%f", flb_time_to_double(tm));
+ tmp = flb_sds_printf(s, "%" PRIu32".%lu",
+ tm->tm.tv_sec, tm->tm.tv_nsec / 1000000);
if (tmp == NULL) {
return NULL;
}
