Reviewing merge request #160: Use local time for output / logs / JSON
Implements #388
Commits that would be merged:
Version 1
- 54889af
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Showing
54889af-992f725Comments
+ static long int g_GMT_Offset = 0; + #include "core/datetools.h"
I'd move that into the Date class
+ time_offset = t.tm_gmtoff * (-1);
–(t.tm_gmtoff) should achieve the same without multiplication :–)
+ time_offset = t.tm_gmtoff * (-1);
okay, forget what I said about the multiplication, g++ is of course smart enough to do the right thing here :–)
merged


Add a new comment:
Login or create an account to post a comment