Skip to content

Commit d6d76c4

Browse files
committed
Unirec output plugin: changed translate_time to translate high precision timestamp in microsecond precision
1 parent 5515554 commit d6d76c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extra_plugins/output/unirec/src/translator.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@ translate_time(translator_t *trans, const struct translator_rec *rec,
480480
return 1;
481481
}
482482

483-
*field_ptr = ur_time_from_sec_msec(ts.tv_sec, ts.tv_nsec / 1000000);
483+
*field_ptr = ur_time_from_sec_usec(ts.tv_sec, ts.tv_nsec / 1000);
484484
return 0;
485485
}
486486

0 commit comments

Comments
 (0)