logger timestamp
Posted: Mon May 30, 2005 01:51
This night I decided to find out why the Logger timestamp was offset by -1 hour, and -2 after we changed to summertime.
So - would'nt it be better to replace UTC time:
src/CEGUILogger.cpp line 77
with a local time call:
After all CEGUI is very likely to be run locally.
Or maybe make it an option?
I'm just wondering if there was some "deeper meaning" with this...
So - would'nt it be better to replace UTC time:
src/CEGUILogger.cpp line 77
Code: Select all
tm* etm = gmtime(&et);with a local time call:
Code: Select all
tm* etm = localtime(&et);After all CEGUI is very likely to be run locally.
Or maybe make it an option?
I'm just wondering if there was some "deeper meaning" with this...