diff options
Diffstat (limited to 'plugins/Import')
-rw-r--r-- | plugins/Import/src/patterns.cpp | 2 | ||||
-rw-r--r-- | plugins/Import/src/stdafx.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/plugins/Import/src/patterns.cpp b/plugins/Import/src/patterns.cpp index 511426b675..3c37bebce1 100644 --- a/plugins/Import/src/patterns.cpp +++ b/plugins/Import/src/patterns.cpp @@ -564,7 +564,7 @@ public: dbei->flags = DBEF_READ | DBEF_UTF; if (pMsg[0x1A] != 0) dbei->flags |= DBEF_SENT; - dbei->timestamp = RLInteger(&pMsg[0x12]); + dbei->timestamp = TimeZone_ToLocal(RLInteger(&pMsg[0x12])); dbei->cbBlob = RLWord(&pMsg[m_iMsgHeaderSize - 2]); dbei->pBlob = (PBYTE)mir_alloc(dbei->cbBlob + 1); memcpy(dbei->pBlob, pMsg + m_iMsgHeaderSize, dbei->cbBlob); diff --git a/plugins/Import/src/stdafx.h b/plugins/Import/src/stdafx.h index aa53aae8fb..027852cd35 100644 --- a/plugins/Import/src/stdafx.h +++ b/plugins/Import/src/stdafx.h @@ -45,6 +45,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include <m_metacontacts.h>
#include <m_netlib.h>
#include <m_protosvc.h>
+#include <m_timezones.h>
#include "../../../libs/Pcre16/src/pcre.h"
|