Changeset 163 in libcf


Ignore:
Timestamp:
04/22/14 08:57:13 (10 years ago)
Author:
cheese
Message:

#1 fix bug of datetime in util

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/cf_util.c

    r158 r163  
    115115        return CF_ERROR_UTIL_GET_LOCALTIME;
    116116
     117    timeVal.tv_usec /= 1000;
     118
    117119    dt->year    = timebuf->tm_year + 1900;
    118120    dt->month   = timebuf->tm_mon + 1;
Note: See TracChangeset for help on using the changeset viewer.