/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-08 13:13:39 UTC
  • Revision ID: gustav.hartvigsson@gmail.com-20160908131339-ahyon17knu1sgzjk
* Woopse

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.%%06uZ%z", localtime (&t));
 
40
   strftime (fmt, 50,"%Y-%m-%dT%H:%M:%S.%%06u%z", localtime (&t));
41
41
   snprintf(ret_val, 50, fmt, tv.tv_usec);
42
42
   return ret_val;
43
43
}