summaryrefslogtreecommitdiff
path: root/log.c
diff options
context:
space:
mode:
Diffstat (limited to 'log.c')
-rwxr-xr-xlog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/log.c b/log.c
index 9fea0bd..96b8126 100755
--- a/log.c
+++ b/log.c
@@ -45,7 +45,7 @@ Log* Log::getInstance() {
int Log::init(string fileName) {
char timebuf[128];
time_t now = time(NULL);
- strftime(timebuf, sizeof(timebuf), "%a, %d %b %Y %H:%M:%S GMT", localtime(&now));
+ strftime(timebuf, sizeof(timebuf), "%a, %d %b %Y %H:%M:%S (%Z)", localtime(&now));
if (fileName != "") {
mLogFile = new ofstream();