Commit 944874d9 authored by Claes Sjofors's avatar Claes Sjofors

Plc functinobject localtime bugfix

parent 9cd73985
......@@ -211,7 +211,7 @@
struct tm tm; \
time_t time = t.tv_sec; \
\
localtime_r( &t, &tm); \
localtime_r( &time, &tm); \
obj->Second = tm.tm_sec; \
obj->Minute = tm.tm_min; \
obj->Hour = tm.tm_hour; \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment