diff options
author | Sadie Powell <sadie@witchery.services> | 2021-05-31 20:57:48 +0100 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2021-05-31 20:57:48 +0100 |
commit | df4313f5bbacbfcb6592b6d90fe5362192287d59 (patch) | |
tree | f16f74b745083d6f8575d86c8d19565869c4d9c4 /src/tools | |
parent | 53cd3f47b5c5afa503e96380e9e22d7d35108714 (diff) | |
parent | 3728a0bda1cf010520c4fae821fc9c98b2adb083 (diff) |
Merge branch '2.0' into 2.1.
Diffstat (limited to 'src/tools')
-rw-r--r-- | src/tools/anopesmtp.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/anopesmtp.cpp b/src/tools/anopesmtp.cpp index 396524049..d86f9c43f 100644 --- a/src/tools/anopesmtp.cpp +++ b/src/tools/anopesmtp.cpp @@ -112,9 +112,9 @@ static std::string GetTimeStamp() { char tbuf[256]; time_t t = time(NULL); - struct tm *tm = localtime(&t); + struct tm *tm = gmtime(&t); - strftime(tbuf, sizeof(tbuf) - 1, "%a, %d %b %Y %H:%M:%S %z", tm); + strftime(tbuf, sizeof(tbuf) - 1, "%a, %d %b %Y %H:%M:%S +0000", tm); return tbuf; } |