summaryrefslogtreecommitdiffstats
path: root/runtime/datetime.c
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/datetime.c')
-rw-r--r--runtime/datetime.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/datetime.c b/runtime/datetime.c
index ea67eec5..2db1d3c5 100644
--- a/runtime/datetime.c
+++ b/runtime/datetime.c
@@ -123,6 +123,7 @@ static void getCurrTime(struct syslogTime *t, time_t *ttSeconds)
t->OffsetMode = '+';
t->OffsetHour = lBias / 3600;
t->OffsetMinute = lBias % 3600;
+ t->timeType = TIME_TYPE_RFC5424; /* we have a high precision timestamp */
}