Commit e36e60d0 authored by Achim Morschhauser's avatar Achim Morschhauser
Browse files

gmtime_r

parent 627e8b5e
......@@ -120,7 +120,7 @@ int data_obs::set_time(struct timespec* time) {
struct tm* tm;
tm = gmtime(&time->tv_sec);
gmtime_r(&time->tv_sec,tm);
year = tm->tm_year + 1900;
mon = tm->tm_mon + 1;
......
Supports Markdown
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