/simpletypesystem/trunk

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/simpletypesystem/trunk

« back to all changes in this revision

Viewing changes to tests/test_macros.h

  • Committer: Gustav Hartvigsson
  • Date: 2016-09-21 14:11:22 UTC
  • Revision ID: gustav.hartvigsson@gmail.com-20160921141122-bc75r3e2enc04m8l
* Reorderd includes in SimpleTypeSystem.h
* Started work on SGlobalNotify
* Small changes to time function

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
   time_t t = time (NULL);
38
38
   struct timeval tv;
39
39
   gettimeofday (&tv, NULL);
40
 
   strftime (fmt, 50,"%Y-%m-%dT%H:%M:%S.%%06u%z", localtime (&t));
 
40
   strftime (fmt, 50,"%Y-%m-%dT%H:%M:%S.%%i%z", localtime (&t));
41
41
   snprintf(ret_val, 50, fmt, tv.tv_usec);
42
42
   return ret_val;
43
43
}